From: Jeffrey Hutzelman Date: Tue, 5 Jun 2007 04:54:29 +0000 (+0000) Subject: DEVEL15-fix-kbuild-linux-ppc64-20070604 X-Git-Tag: openafs-devel-1_5_21~84 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a8b6ff273d0d5bfe497562b7533a56ccc8e70ef5;p=packages%2Fo%2Fopenafs.git DEVEL15-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 dc6e31130..35dbba792 100755 --- a/src/libafs/make_kbuild_makefile.pl +++ b/src/libafs/make_kbuild_makefile.pl @@ -82,7 +82,7 @@ if (! -d $KDIR) { foreach (keys %all_objs) { 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/; }