summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-08-27 14:31:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-27 14:31:27 -0700
commit3d87ff3e44bd2a13cbe2d2e02cc5e38953ff260f (patch)
treee045433982a9f367e9fc1fe34c845b362cadcb1c /arch/sparc/Makefile
parent2caf959966d540c9a2358c6b74f67aa86248e34b (diff)
parent349101da8e1f8e5eb1476b02823da80495224485 (diff)
downloadkernel-crypto-3d87ff3e44bd2a13cbe2d2e02cc5e38953ff260f.tar.gz
kernel-crypto-3d87ff3e44bd2a13cbe2d2e02cc5e38953ff260f.tar.xz
kernel-crypto-3d87ff3e44bd2a13cbe2d2e02cc5e38953ff260f.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: sparc: Add target for a stripped kernel sparc64: Make NUMA depend upon SMP.
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 6668e6037af..9592889a6fd 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