Skip to contentSkip to conversation

sparc64: build compressed image (zImage) by default

PATCH David Miller 1 participant 1 message Aug 17, 2009 1 message not in the archive Kbuild

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

From: Frans Pop <[email protected]>
Date: Mon, 29 Jun 2009 12:45:59 +0200

Quoted 9 lines

From: Jurij Smakov <[email protected]>
Subject: 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.

This is fine, however:

Review endif · line 99

Quoted 10 lines
(quoted diff) +3 -0
@@ -91,6 +91,9 @@ endif
 
 boot := arch/sparc/boot
 
+# Default target
+all: zImage
+
 image zImage tftpboot.img vmlinux.aout: vmlinux
 	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
 

If we are going to add this target to the 32/64 agnostic part of the Makefile, we should remove the identical chunk earlier in the 32-bit specific section.

I took the liberty of making that cleanup when applying this, thanks!