[kernel/f14/master] setup kernel headers to be buit on sparcv9 for 32 bit sparc

Dennis Gilmore ausil at fedoraproject.org
Thu Sep 16 19:30:20 UTC 2010


commit 6daeb4142acfa7ea70d3428fb42275f3650f2c72
Author: Dennis Gilmore <dennis at daedalus.ausil.us>
Date:   Thu Sep 16 19:24:22 2010 +0000

    setup kernel headers to be buit on sparcv9 for 32 bit sparc

 kernel.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 199b2d8..b611604 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -326,6 +326,10 @@ Summary: The Linux kernel
 %define kernel_image arch/s390/boot/image
 %endif
 
+%ifarch sparcv9
+%define hdrarch sparc
+%endif
+
 %ifarch sparc64
 %define asmarch sparc
 %define all_arch_configs kernel-%{version}-sparc64*.config
@@ -387,7 +391,7 @@ Summary: The Linux kernel
 # Which is a BadThing(tm).
 
 # We only build kernel-headers on the following...
-%define nobuildarches i386 s390 sparc %{arm}
+%define nobuildarches i386 s390 sparc sparcv9 %{arm}
 
 %ifarch %nobuildarches
 %define with_up 0
@@ -475,7 +479,7 @@ Version: %{rpmversion}
 Release: %{pkg_release}
 # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
 # SET %%nobuildarches (ABOVE) INSTEAD
-ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390 s390x alpha alphaev56 %{arm}
+ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparcv9 sparc64 s390 s390x alpha alphaev56 %{arm}
 ExclusiveOS: Linux
 
 %kernel_reqprovconf


More information about the scm-commits mailing list