Commit 79b1bf14 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild:

Remove absolute path in output of drivers/scsi/script_asm.pl
Extracted from Keith Owens' kbuild-2.5 by patch@luckynet.dynu.com.
parent 891563ca
...@@ -896,7 +896,8 @@ foreach $label (@label) { ...@@ -896,7 +896,8 @@ foreach $label (@label) {
open (OUTPUT, ">$output") || die "$0 : can't open $output for writing\n"; open (OUTPUT, ">$output") || die "$0 : can't open $output for writing\n";
open (OUTPUTU, ">$outputu") || die "$0 : can't open $outputu for writing\n"; open (OUTPUTU, ">$outputu") || die "$0 : can't open $outputu for writing\n";
print OUTPUT "/* DO NOT EDIT - Generated automatically by ".$0." */\n"; ($_ = $0) =~ s:.*/::;
print OUTPUT "/* DO NOT EDIT - Generated automatically by ".$_." */\n";
print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n"; print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n";
$instructions = 0; $instructions = 0;
for ($i = 0; $i < $#code; ) { for ($i = 0; $i < $#code; ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment