Message ID | 90c316089a2e1c92800973aee3415dde4afce27c.1709508291.git.ehem+linux@m5p.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Adding trailing slash to $(*tree) | expand |
diff --git a/scripts/generate_initcall_order.pl b/scripts/generate_initcall_order.pl index 1a88d3f1b913..d925580ee567 100755 --- a/scripts/generate_initcall_order.pl +++ b/scripts/generate_initcall_order.pl @@ -12,7 +12,7 @@ use IO::Select; use POSIX ":sys_wait_h"; my $nm = $ENV{'NM'} || die "$0: ERROR: NM not set?"; -my $objtree = $ENV{'objtree'} || '.'; +my $objtree = $ENV{'objtree'} || ''; ## currently active child processes my $jobs = {}; # child process pid -> file handle @@ -203,7 +203,7 @@ sub process_files { } else { # in the child process STDOUT->autoflush(1); - find_initcalls($index, "$objtree/$file"); + find_initcalls($index, "$objtree$file"); exit; }
Once converted this script needs to match what the Makefiles have. Signed-off-by: Elliott Mitchell <ehem+linux@m5p.com> --- --- scripts/generate_initcall_order.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)