[kernel] Pass the same make options to compat-wireless as to the base kernel

John W. Linville linville at fedoraproject.org
Thu Jan 19 15:15:08 UTC 2012


commit 4ff232877a36fa92cc61219a032eb6a31b5023fb
Author: John W. Linville <linville at tuxdriver.com>
Date:   Thu Jan 19 10:14:01 2012 -0500

    Pass the same make options to compat-wireless as to the base kernel

 kernel.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 22f69ce..1c55986 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1860,9 +1860,10 @@ BuildKernel() {
 
     cd ../compat-wireless-%{cwversion}/
 
-    make KLIB_BUILD=../linux-%{kversion}.%{_target_cpu} \
+    make -s ARCH=$Arch V=1 %{?_smp_mflags} \
+	KLIB_BUILD=../linux-%{kversion}.%{_target_cpu} \
 	KMODPATH_ARG="INSTALL_MOD_PATH=$RPM_BUILD_ROOT" \
-	KMODDIR="backports" install-modules
+	KMODDIR="backports" install-modules %{?sparse_mflags}
 
     # mark modules executable so that strip-to-file can strip them
     find $RPM_BUILD_ROOT/lib/modules/$KernelVer/backports -name "*.ko" \
@@ -2344,6 +2345,9 @@ fi
 #                 ||----w |
 #                 ||     ||
 %changelog
+* Thu Jan 19 2012 John W. Linville <linville at redhat.com>
+- Pass the same make options to compat-wireless as to the base kernel
+
 * Thu Jan 19 2012 Dennis Gilmore <dennis at ausil.us>
 - dont build TOUCHSCREEN_EETI on arm 
 


More information about the scm-commits mailing list