From: Jeffrey Hutzelman Date: Tue, 5 Jun 2007 04:56:14 +0000 (+0000) Subject: STABLE14-fix-kbuild-linux-ppc64-20070604 X-Git-Tag: openafs-stable-1_4_5-pre1~107 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f941a3200e19c2b9fe7ae4db3c407d118b415201;p=packages%2Fo%2Fopenafs.git 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) --- diff --git a/src/libafs/make_kbuild_makefile.pl b/src/libafs/make_kbuild_makefile.pl index ce046e172..dd10db1e3 100755 --- a/src/libafs/make_kbuild_makefile.pl +++ b/src/libafs/make_kbuild_makefile.pl @@ -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/; }