summaryrefslogtreecommitdiff
path: root/package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:44:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:44:05 +0200
commit5ae441d42ae9d1b33793a3ca19a7c929344337f7 (patch)
tree74fde0e28f77fc9627149148231391b311961bfe /package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in
parentd871140e95bd81cf9ee4998d7199cff292241681 (diff)
parentd0cedd6214f7c35b73a22464c8688dbf9eb79f62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in')
-rw-r--r--package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in b/package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in
new file mode 100644
index 000000000..c07f5993e
--- /dev/null
+++ b/package/openafs/patches/patch-src_libafs_MakefileProto_LINUX_in
@@ -0,0 +1,11 @@
+--- openafs-1.6.5.orig/src/libafs/MakefileProto.LINUX.in 2013-07-18 00:10:42.000000000 +0200
++++ openafs-1.6.5/src/libafs/MakefileProto.LINUX.in 2013-09-22 20:53:43.359091259 +0200
+@@ -340,7 +340,7 @@ ${LIBAFS} ${LIBAFS_MP} ${LIBAFS_EP} ${LI
+ .FORCE:
+ ${LINUX_LIBAFS_NAME}.ko afspag.ko: .FORCE
+ env EXTRA_CFLAGS="${EXTRA_CFLAGS}" @TOP_SRCDIR@/libafs/make_kbuild_makefile.pl ${KDIR} $@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makefile.common
+- env EXTRA_CFLAGS="${EXTRA_CFLAGS}" $(MAKE) -C ${LINUX_KERNEL_BUILD} M=@TOP_OBJDIR@/src/libafs/${KDIR} modules 2>&1 | tee .makelog
++ env EXTRA_CFLAGS="${EXTRA_CFLAGS}" $(MAKE) -C ${LINUX_KERNEL_BUILD} ARCH=${ARCH} CROSS_COMPILE=${CROSS} M=@TOP_OBJDIR@/src/libafs/${KDIR} modules 2>&1 | tee .makelog
+ @if [ `grep ^WARNING .makelog | wc -l` -ne 0 ]; then \
+ echo Error: Undefined symbols in modules ; \
+ rm .makelog ; \