Once converted this script needs to match what the Makefiles have. Signed-off-by: Elliott Mitchell <ehem+linux@xxxxxxx> --- --- scripts/generate_initcall_order.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2