diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-12-07 03:00:32 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-11 18:42:07 -0500 |
commit | cf00e20444fc39fe37691ca32919061bf65527b0 (patch) | |
tree | 823d5d6df649f6804c5bee243ca98ae207ee3644 /arch/sh/Makefile | |
parent | fce3a24e7087ba1f56eea5ec14fec592e677e672 (diff) |
sh: Add uImage and S-rec generation support.
Add a couple of new targets, both for uImage and S-rec generation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index d10bba5e1074..c1dbef212634 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -179,7 +179,7 @@ maketools: include/linux/version.h FORCE | |||
179 | 179 | ||
180 | all: zImage | 180 | all: zImage |
181 | 181 | ||
182 | zImage: vmlinux | 182 | zImage uImage uImage.srec vmlinux.srec: vmlinux |
183 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 183 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
184 | 184 | ||
185 | compressed: zImage | 185 | compressed: zImage |
@@ -190,5 +190,8 @@ archclean: | |||
190 | CLEAN_FILES += include/asm-sh/machtypes.h | 190 | CLEAN_FILES += include/asm-sh/machtypes.h |
191 | 191 | ||
192 | define archhelp | 192 | define archhelp |
193 | @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' | 193 | @echo '* zImage - Compressed kernel image' |
194 | @echo ' vmlinux.srec - Create an ELF S-record' | ||
195 | @echo ' uImage - Create a bootable image for U-Boot' | ||
196 | @echo ' uImage.srec - Create an S-record for U-Boot' | ||
194 | endef | 197 | endef |