diff options
author | Martin Habets <errandir_news@mph.eclipse.co.uk> | 2008-08-19 01:37:18 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-24 23:35:47 -0400 |
commit | 349101da8e1f8e5eb1476b02823da80495224485 (patch) | |
tree | 1fdfcb6e2f88659d3f5d787197c7e77226228d0d /arch/sparc/Makefile | |
parent | a39f2f466f5db0be4045afaf9344a9039c2451ca (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/Makefile | 8 |
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 | |||
52 | export INIT_Y CORE_Y DRIVERS_Y NET_Y LIBS_Y HEAD_Y kallsyms.o | 52 | export INIT_Y CORE_Y DRIVERS_Y NET_Y LIBS_Y HEAD_Y kallsyms.o |
53 | 53 | ||
54 | # Default target | 54 | # Default target |
55 | all: image | 55 | all: zImage |
56 | 56 | ||
57 | boot := arch/sparc/boot | 57 | boot := arch/sparc/boot |
58 | 58 | ||
59 | image tftpboot.img: vmlinux | 59 | image zImage tftpboot.img: vmlinux |
60 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 60 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
61 | 61 | ||
62 | archclean: | 62 | archclean: |
63 | $(Q)$(MAKE) $(clean)=$(boot) | 63 | $(Q)$(MAKE) $(clean)=$(boot) |
64 | 64 | ||
65 | # This is the image used for packaging | ||
66 | KBUILD_IMAGE := $(boot)/zImage | ||
67 | |||
65 | CLEAN_FILES += arch/$(ARCH)/boot/System.map | 68 | CLEAN_FILES += arch/$(ARCH)/boot/System.map |
66 | 69 | ||
67 | # Don't use tabs in echo arguments. | 70 | # Don't use tabs in echo arguments. |
68 | define archhelp | 71 | define archhelp |
69 | echo '* image - kernel image ($(boot)/image)' | 72 | echo '* image - kernel image ($(boot)/image)' |
73 | echo '* zImage - stripped kernel image ($(boot)/zImage)' | ||
70 | echo ' tftpboot.img - image prepared for tftp' | 74 | echo ' tftpboot.img - image prepared for tftp' |
71 | endef | 75 | endef |