[kernel/f17] 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:45:20 UTC 2012


commit d3a46ed584ca9ba569d18e516eff5a4e1ee340da
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Thu Apr 12 10:39:22 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

 config-arm-generic |    3 ---
 kernel.spec        |    8 ++++++++
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/config-arm-generic b/config-arm-generic
index eabdb4c..6cc0d0d 100644
--- a/config-arm-generic
+++ b/config-arm-generic
@@ -219,6 +219,3 @@ CONFIG_OMAP4_ERRATA_I688=y
 # CONFIG_ARM_EXYNOS4210_CPUFREQ is not set
 
 CONFIG_OF_GPIO=y
-
-# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/091404.html
-KALLSYMS_EXTRA_PASS=y
diff --git a/kernel.spec b/kernel.spec
index df9dd13..9cb2721 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1674,7 +1674,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
@@ -2387,6 +2392,9 @@ fi
 #    '-'      |  |
 #              '-'
 %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
+
 * Wed Apr 11 2012 Peter Robinson <pbrobinson at fedoraproject.org>
 - update ARM configs, rename arm-omap
 


More information about the scm-commits mailing list