diff options
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 15 |
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) | |||
189 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) | 189 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) |
190 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) | 190 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) |
191 | 191 | ||
192 | PHONY += maketools FORCE | 192 | BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec \ |
193 | zImage vmlinux.srec | ||
194 | PHONY += maketools $(BOOT_TARGETS) FORCE | ||
193 | 195 | ||
194 | maketools: include/linux/version.h FORCE | 196 | maketools: 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 | ||
197 | all: $(KBUILD_IMAGE) | 199 | all: $(KBUILD_IMAGE) |
198 | 200 | ||
199 | zImage uImage uImage.srec vmlinux.srec: vmlinux | 201 | $(BOOT_TARGETS): vmlinux |
200 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 202 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
201 | 203 | ||
202 | compressed: zImage | 204 | compressed: zImage |
@@ -208,10 +210,13 @@ archclean: | |||
208 | $(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall | 210 | $(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall |
209 | 211 | ||
210 | define archhelp | 212 | define 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)' | ||
215 | endef | 220 | endef |
216 | 221 | ||
217 | CLEAN_FILES += include/asm-sh/machtypes.h | 222 | CLEAN_FILES += include/asm-sh/machtypes.h |