summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@redhat.com>2012-04-02 15:45:30 -0500
committerJustin M. Forbes <jforbes@redhat.com>2012-04-02 15:45:30 -0500
commit3be53ac5269e59a93502efc0199e222a91a89366 (patch)
tree2913ba3e3072e328865b559252c62300ae6a10b1
parentd8c9baa9103001162859031f9cb6a39eb39f9695 (diff)
parentfc31f43f1e13a5ae9380f90b45044cb5ba08c1c2 (diff)
downloadkernel-3be53ac5269e59a93502efc0199e222a91a89366.tar.gz
kernel-3be53ac5269e59a93502efc0199e222a91a89366.tar.xz
kernel-3be53ac5269e59a93502efc0199e222a91a89366.zip
Merge fixup
-rw-r--r--Makefile7
-rw-r--r--kernel.spec5
2 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index b9475a43f..5df8b21a9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,6 @@
# Makefile for source rpm: kernel
SPECFILE := kernel.spec
-# use noarch for make prep instead of the current CPU
-# noarch creates and checks all config files not just the current one,
-# in addition "i386" isn't a valid kernel target
-PREPARCH = noarch
-
# we only check the .sign signatures
UPSTREAM_CHECKS = sign
@@ -18,7 +13,7 @@ help:
include Makefile.config
prep:
- fedpkg -v prep --arch=$(PREPARCH)
+ fedpkg -v prep
noarch:
fedpkg -v local --arch=noarch
diff --git a/kernel.spec b/kernel.spec
index 47297e118..363068ad5 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1458,7 +1458,7 @@ rm -f kernel-%{version}-*debug.config
%endif
# now run oldconfig over all the config files
-for i in kernel-*-$(uname -p)*.config
+for i in kernel-*-%{_target_cpu}*.config
do
mv $i .config
Arch=`head -1 .config | cut -b 3-`
@@ -2289,6 +2289,9 @@ fi
* Fri Mar 30 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc0.git5.1
- Linux v3.3-9295-gf52b69f
+* Fri Mar 30 2012 Dave Jones <davej@redhat.com>
+- Change config parsing to use {_target_cpu} (From Niels de Vos)
+
* Thu Mar 29 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc0.git4.1
- Linux v3.3-8839-gb5174fa