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>
This commit is contained in:
committed by
David S. Miller
parent
b2add73dbf
commit
48e46b7b31
@@ -38,10 +38,6 @@ CPPFLAGS_vmlinux.lds += -m32
|
|||||||
# Actual linking is done with "make image".
|
# Actual linking is done with "make image".
|
||||||
LDFLAGS_vmlinux = -r
|
LDFLAGS_vmlinux = -r
|
||||||
|
|
||||||
# Default target
|
|
||||||
all: zImage
|
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
#####
|
#####
|
||||||
# sparc64
|
# sparc64
|
||||||
@@ -91,6 +87,9 @@ endif
|
|||||||
|
|
||||||
boot := arch/sparc/boot
|
boot := arch/sparc/boot
|
||||||
|
|
||||||
|
# Default target
|
||||||
|
all: zImage
|
||||||
|
|
||||||
image zImage tftpboot.img vmlinux.aout: vmlinux
|
image zImage tftpboot.img vmlinux.aout: vmlinux
|
||||||
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
|
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
|
||||||
|
|
||||||
@@ -109,7 +108,8 @@ define archhelp
|
|||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define archhelp
|
define archhelp
|
||||||
echo '* vmlinux - Standard sparc64 kernel'
|
echo '* vmlinux - standard sparc64 kernel'
|
||||||
|
echo '* zImage - stripped and compressed sparc64 kernel ($(boot)/zImage)'
|
||||||
echo ' vmlinux.aout - a.out kernel for sparc64'
|
echo ' vmlinux.aout - a.out kernel for sparc64'
|
||||||
echo ' tftpboot.img - image prepared for tftp'
|
echo ' tftpboot.img - image prepared for tftp'
|
||||||
endef
|
endef
|
||||||
|
@@ -79,6 +79,9 @@ $(obj)/image: vmlinux FORCE
|
|||||||
$(call if_changed,strip)
|
$(call if_changed,strip)
|
||||||
@echo ' kernel: $@ is ready'
|
@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
|
$(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback_64 System.map $(ROOT_IMG) FORCE
|
||||||
$(call if_changed,elftoaout)
|
$(call if_changed,elftoaout)
|
||||||
$(call if_changed,piggy)
|
$(call if_changed,piggy)
|
||||||
|
Reference in New Issue
Block a user