summaryrefslogtreecommitdiffstats
path: root/scripts/package/mkspec
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-02-17 14:15:23 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-17 14:15:23 -0800
commit51f267739a81db5eb511b95aeae338413690b8a2 (patch)
treef4cd6461e8f2fa98a470ff9895dcb89842feab08 /scripts/package/mkspec
parent59dad0cbe6fd52e68b1ee4b02cbf89d64a4655cc (diff)
parent929799973ba4a40f7b8001e9cc461c13d04c4124 (diff)
downloadop-kernel-dev-51f267739a81db5eb511b95aeae338413690b8a2.zip
op-kernel-dev-51f267739a81db5eb511b95aeae338413690b8a2.tar.gz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes: kbuild: create the source symlink earlier in the objdir scripts: add x86 64 bit support to the markup_oops.pl script scripts: add x86 register parser to markup_oops.pl kbuild: add sys_* entries for syscalls in tags kbuild: fix tags generation of config symbols bootgraph: fix for use with dot symbols kbuild: add vmlinux to kernel rpm kbuild,setlocalversion: shorten the make time when using svn
Diffstat (limited to 'scripts/package/mkspec')
-rwxr-xr-xscripts/package/mkspec8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index 2500886..ee448cd 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -86,6 +86,14 @@ echo "%endif"
echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$KERNELRELEASE"
echo 'cp .config $RPM_BUILD_ROOT'"/boot/config-$KERNELRELEASE"
+
+echo "%ifnarch ppc64"
+echo 'cp vmlinux vmlinux.orig'
+echo 'bzip2 -9 vmlinux'
+echo 'mv vmlinux.bz2 $RPM_BUILD_ROOT'"/boot/vmlinux-$KERNELRELEASE.bz2"
+echo 'mv vmlinux.orig vmlinux'
+echo "%endif"
+
echo ""
echo "%clean"
echo '#echo -rf $RPM_BUILD_ROOT'
OpenPOWER on IntegriCloud