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

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


commit 9f353831c7abcf21c2200b8edb487e0ac2e12b49
Author: John W. Linville <linville at tuxdriver.com>
Date:   Thu Jan 19 10:15:41 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 3dd83a4..4c328ea 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1934,9 +1934,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" \
@@ -2398,6 +2399,9 @@ fi
 # and build.
 
 %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
+
 * Wed Jan 18 2012 Josh Boyer <jwboyer at redhat.com> 3.1.10-2
 - Fix broken procfs backport (rhbz 782961)
 


More information about the scm-commits mailing list