aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r--arch/sh/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 75d049b03f7e..2aba73eccb31 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -189,14 +189,16 @@ KBUILD_AFLAGS += $(cflags-y)
189libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) 189libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y)
190libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) 190libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y)
191 191
192PHONY += maketools FORCE 192BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec \
193 zImage vmlinux.srec
194PHONY += maketools $(BOOT_TARGETS) FORCE
193 195
194maketools: include/linux/version.h FORCE 196maketools: include/linux/version.h FORCE
195 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h 197 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h
196 198
197all: $(KBUILD_IMAGE) 199all: $(KBUILD_IMAGE)
198 200
199zImage uImage uImage.srec vmlinux.srec: vmlinux 201$(BOOT_TARGETS): vmlinux
200 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 202 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
201 203
202compressed: zImage 204compressed: zImage
@@ -208,10 +210,13 @@ archclean:
208 $(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall 210 $(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall
209 211
210define archhelp 212define archhelp
211 @echo '* zImage - Compressed kernel image' 213 @echo ' zImage - Compressed kernel image'
212 @echo ' vmlinux.srec - Create an ELF S-record' 214 @echo ' vmlinux.srec - Create an ELF S-record'
213 @echo ' uImage - Create a bootable image for U-Boot' 215 @echo '* uImage - Alias to bootable U-Boot image'
214 @echo ' uImage.srec - Create an S-record for U-Boot' 216 @echo ' uImage.srec - Create an S-record for U-Boot'
217 @echo '* uImage.gz - Kernel-only image for U-Boot (gzip)'
218 @echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)'
219 @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)'
215endef 220endef
216 221
217CLEAN_FILES += include/asm-sh/machtypes.h 222CLEAN_FILES += include/asm-sh/machtypes.h