git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b00f7c3
)
DEVEL15-fix-kbuild-linux-ppc64-20070604
author
Jeffrey Hutzelman
<jhutz@cmu.edu>
Tue, 5 Jun 2007 04:54:29 +0000 (
04:54
+0000)
committer
Russ Allbery
<rra@stanford.edu>
Tue, 5 Jun 2007 04:54:29 +0000 (
04:54
+0000)
The Linux 2.6 kbuild environment requires assembly files end in .S, not .s.
(cherry picked from commit
e8493e06f9d62c282bca2df8a4a0ac20caa4c70c
)
src/libafs/make_kbuild_makefile.pl
patch
|
blob
|
history
diff --git
a/src/libafs/make_kbuild_makefile.pl
b/src/libafs/make_kbuild_makefile.pl
index
dc6e311
..
35dbba7
100755
(executable)
--- 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/;
}