summaryrefslogtreecommitdiff
path: root/arch/sparc/Makefile
diff options
context:
space:
mode:
authorMartin Habets <errandir_news@mph.eclipse.co.uk>2008-08-18 22:37:18 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-24 20:35:47 -0700
commit349101da8e1f8e5eb1476b02823da80495224485 (patch)
tree1fdfcb6e2f88659d3f5d787197c7e77226228d0d /arch/sparc/Makefile
parenta39f2f466f5db0be4045afaf9344a9039c2451ca (diff)
sparc: Add target for a stripped kernel
Add a target for a stripped kernel. This is used for the various packaging targets (*-pkg). Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Makefile')
-rw-r--r--arch/sparc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index 6668e6037af6..9592889a6fd0 100644
--- a/arch/sparc/Makefile
+++ b/arch/sparc/Makefile
@@ -52,20 +52,24 @@ endif
export INIT_Y CORE_Y DRIVERS_Y NET_Y LIBS_Y HEAD_Y kallsyms.o
# Default target
-all: image
+all: zImage
boot := arch/sparc/boot
-image tftpboot.img: vmlinux
+image zImage tftpboot.img: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
+# This is the image used for packaging
+KBUILD_IMAGE := $(boot)/zImage
+
CLEAN_FILES += arch/$(ARCH)/boot/System.map
# Don't use tabs in echo arguments.
define archhelp
echo '* image - kernel image ($(boot)/image)'
+ echo '* zImage - stripped kernel image ($(boot)/zImage)'
echo ' tftpboot.img - image prepared for tftp'
endef