[kernel/f15] KALLSYMS_EXTRA_PASS=1 is only able to be set via environment variables pass it in on the make line f

Dennis Gilmore ausil at fedoraproject.org
Thu Apr 12 15:50:40 UTC 2012


commit 0b98ebd8f66e591861e6d46262e0c18c4a038da0
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Thu Apr 12 10:49:35 2012 -0500

    KALLSYMS_EXTRA_PASS=1 is only able to be set via environment variables
    pass it in on the make line for arm only

 kernel.spec |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 44111ec..2aedc02 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1435,7 +1435,12 @@ BuildKernel() {
     echo USING ARCH=$Arch
 
     make -s ARCH=$Arch oldnoconfig >/dev/null
+%ifarch %{arm}
+    # http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/091404.html
+    make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags} KALLSYMS_EXTRA_PASS=1
+%else
     make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
+%endif
     make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
 
     # Start installing the results
@@ -1969,6 +1974,9 @@ fi
 # and build.
 
 %changelog
+* Thu Apr 12 2012 Dennis Gilmore <dennis at ausil.us>
+- KALLSYMS_EXTRA_PASS=1 has to be passed in on the command line so do so only for arm
+
 * Tue Apr 10 2012 Mauro Carvalho Chehab <mchehab at redhat.com> 3.3.1-5
 - Backport dvb-core and a few driver fixes from media tree (rhbz808871)
 


More information about the scm-commits mailing list