summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Gilmore <dennis@ausil.us>2011-01-05 14:38:06 -0600
committerDennis Gilmore <dennis@ausil.us>2011-01-05 14:38:06 -0600
commit9c749777115a8fe336994746bdf0fcfd28ead73a (patch)
tree915dbf719804e6b1d919b2b0d2f57b14193ae427
parent1c442e5d3d82d64651f56e9f474543d2ca69febb (diff)
downloadkernel-9c749777115a8fe336994746bdf0fcfd28ead73a.tar.gz
kernel-9c749777115a8fe336994746bdf0fcfd28ead73a.tar.xz
kernel-9c749777115a8fe336994746bdf0fcfd28ead73a.zip
build sparc headers on sparcv9
-rw-r--r--kernel.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec
index 516ffeb89..4357e2330 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -338,6 +338,10 @@ Summary: The Linux kernel
%define with_perf 0
%endif
+%ifarch sparcv9
+%define hdrarch sparc
+%endif
+
%ifarch ppc
%define asmarch powerpc
%define hdrarch powerpc
@@ -390,7 +394,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
@@ -478,7 +482,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} s390 s390x alpha alphaev56 %{arm}
ExclusiveOS: Linux
%kernel_reqprovconf
@@ -1953,6 +1957,9 @@ fi
# || ||
%changelog
+* Wed Jan 05 2011 Dennis Gilmore <dennis@ausil.us>
+- build sparc headers on sparcv9
+
* Tue Jan 04 2011 Dennis Gilmore <dennis@ausil.us>
- add patch for sparc build failure