STABLE14-fix-kbuild-linux-ppc64-20070604

The Linux 2.6 kbuild environment requires assembly files end in .S, not .s.


(cherry picked from commit e8493e06f9d62c282bca2df8a4a0ac20caa4c70c)
This commit is contained in:
Jeffrey Hutzelman 2007-06-05 04:56:14 +00:00 committed by Russ Allbery
parent bb10eecd1b
commit f941a3200e

View File

@ -79,7 +79,7 @@ if (! -d $KDIR) {
foreach (@objects) {
die "No source known for $_\n" unless exists $deps{$_};
if($deps{$_} =~ /\.s$/) {
($src = $_) =~ s/\.o$/.s/;
($src = $_) =~ s/\.o$/.S/;
} else {
($src = $_) =~ s/\.o$/.c/;
}