diff options
Diffstat (limited to 'arch/blackfin/boot/Makefile')
-rw-r--r-- | arch/blackfin/boot/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/blackfin/boot/Makefile b/arch/blackfin/boot/Makefile new file mode 100644 index 000000000000..49e8098d4c21 --- /dev/null +++ b/arch/blackfin/boot/Makefile | |||
@@ -0,0 +1,27 @@ | |||
1 | # | ||
2 | # arch/blackfin/boot/Makefile | ||
3 | # | ||
4 | # This file is subject to the terms and conditions of the GNU General Public | ||
5 | # License. See the file "COPYING" in the main directory of this archive | ||
6 | # for more details. | ||
7 | # | ||
8 | |||
9 | MKIMAGE := $(srctree)/scripts/mkuboot.sh | ||
10 | |||
11 | targets := vmImage | ||
12 | extra-y += vmlinux.bin vmlinux.gz | ||
13 | |||
14 | quiet_cmd_uimage = UIMAGE $@ | ||
15 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \ | ||
16 | -C gzip -a $(CONFIG_BOOT_LOAD) -e $(CONFIG_BOOT_LOAD) -n 'Linux-$(KERNELRELEASE)' \ | ||
17 | -d $< $@ | ||
18 | |||
19 | $(obj)/vmlinux.bin: vmlinux FORCE | ||
20 | $(call if_changed,objcopy) | ||
21 | |||
22 | $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE | ||
23 | $(call if_changed,gzip) | ||
24 | |||
25 | $(obj)/vmImage: $(obj)/vmlinux.gz | ||
26 | $(call if_changed,uimage) | ||
27 | @echo 'Kernel: $@ is ready' | ||