diff options
author | Jason Wu <huanyu@xilinx.com> | 2013-08-21 01:10:32 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-09-03 10:31:17 -0400 |
commit | ec2eba55f0c0e74dd39aca14dcc597583cf1eb67 (patch) | |
tree | 9aab7d668ee1227c175c8bd2ccbb86eb9e5806c2 /arch/microblaze/boot | |
parent | dcd454af221920990cef8000ef1830c94ef846f9 (diff) |
microblaze: Add linux.bin.ub target
Currently the linux.bin target creates both linux.bin and linux.bin.ub.
Add linux.bin.ub as separate target to generate linux.bin.ub.
Signed-off-by: Jason Wu <huanyu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/boot')
-rw-r--r-- | arch/microblaze/boot/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index 80fe54fb7ca3..8e211cc28dac 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile | |||
@@ -2,12 +2,15 @@ | |||
2 | # arch/microblaze/boot/Makefile | 2 | # arch/microblaze/boot/Makefile |
3 | # | 3 | # |
4 | 4 | ||
5 | targets := linux.bin linux.bin.gz simpleImage.% | 5 | targets := linux.bin linux.bin.gz linux.bin.ub simpleImage.% |
6 | 6 | ||
7 | OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary | 7 | OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary |
8 | 8 | ||
9 | $(obj)/linux.bin: vmlinux FORCE | 9 | $(obj)/linux.bin: vmlinux FORCE |
10 | $(call if_changed,objcopy) | 10 | $(call if_changed,objcopy) |
11 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' | ||
12 | |||
13 | $(obj)/linux.bin.ub: $(obj)/linux.bin FORCE | ||
11 | $(call if_changed,uimage) | 14 | $(call if_changed,uimage) |
12 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' | 15 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' |
13 | 16 | ||
@@ -22,8 +25,6 @@ quiet_cmd_strip = STRIP $@ | |||
22 | cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \ | 25 | cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \ |
23 | -K _fdt_start vmlinux -o $@ | 26 | -K _fdt_start vmlinux -o $@ |
24 | 27 | ||
25 | UIMAGE_IN = $@ | ||
26 | UIMAGE_OUT = $@.ub | ||
27 | UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR) | 28 | UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR) |
28 | 29 | ||
29 | $(obj)/simpleImage.%: vmlinux FORCE | 30 | $(obj)/simpleImage.%: vmlinux FORCE |