Not so easy to add the name of the source as the script_asm.pl gets
in on stdin after processing by gcc. The following will add an
"automatically generated" line, which should be enough to prompt
people to look in the makefile.
Applies to 2.2 and 2.3.
Richard
--- linux-2.3.22/drivers/scsi/script_asm.pl- Wed Oct 20 21:50:28 1999
+++ linux-2.3.22/drivers/scsi/script_asm.pl Wed Oct 20 21:48:44 1999
@@ -896,6 +896,7 @@
open (OUTPUT, ">$output") || die "$0 : can't open $output 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";
print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n";
$instructions = 0;
for ($i = 0; $i < $#code; ) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/