summaryrefslogtreecommitdiffstats
path: root/arch/sparc/boot
diff options
context:
space:
mode:
authorJurij Smakov <jurij@wooyd.org>2009-08-16 18:21:47 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-16 18:21:47 -0700
commit48e46b7b311c54525712c28004f0a59f2c931d30 (patch)
tree139aa35cb6554f425461a941610d0d8a189a0dc5 /arch/sparc/boot
parentb2add73dbf93fd50f00564d7abc3e2b9aa9dd20c (diff)
downloadlinux-0-day-48e46b7b311c54525712c28004f0a59f2c931d30.tar.gz
linux-0-day-48e46b7b311c54525712c28004f0a59f2c931d30.tar.xz
sparc64: build compressed image (zImage) by default
Besides creating the uncompressed vmlinux image for sparc64, also create a compressed zImage. This is more consistent with other architectures and required to make the 'deb-pkg' target work. Signed-off-by: Jurij Smakov <jurij@wooyd.org> Signed-off-by: Frans Pop <elendil@planet.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/boot')
-rw-r--r--arch/sparc/boot/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile
index 1ff0fd9247565..97e3feb9ff1bd 100644
--- a/arch/sparc/boot/Makefile
+++ b/arch/sparc/boot/Makefile
@@ -79,6 +79,9 @@ $(obj)/image: vmlinux FORCE
$(call if_changed,strip)
@echo ' kernel: $@ is ready'
+$(obj)/zImage: $(obj)/image
+ $(call if_changed,gzip)
+
$(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback_64 System.map $(ROOT_IMG) FORCE
$(call if_changed,elftoaout)
$(call if_changed,piggy)