diff options
Diffstat (limited to 'arch/unicore32')
-rw-r--r-- | arch/unicore32/boot/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/unicore32/boot/Makefile b/arch/unicore32/boot/Makefile index 79e5f88845d9..ec7fb70b412b 100644 --- a/arch/unicore32/boot/Makefile +++ b/arch/unicore32/boot/Makefile | |||
@@ -11,8 +11,6 @@ | |||
11 | # Copyright (C) 2001~2010 GUAN Xue-tao | 11 | # Copyright (C) 2001~2010 GUAN Xue-tao |
12 | # | 12 | # |
13 | 13 | ||
14 | MKIMAGE := $(srctree)/scripts/mkuboot.sh | ||
15 | |||
16 | targets := Image zImage uImage | 14 | targets := Image zImage uImage |
17 | 15 | ||
18 | $(obj)/Image: vmlinux FORCE | 16 | $(obj)/Image: vmlinux FORCE |
@@ -26,14 +24,8 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE | |||
26 | $(call if_changed,objcopy) | 24 | $(call if_changed,objcopy) |
27 | @echo ' Kernel: $@ is ready' | 25 | @echo ' Kernel: $@ is ready' |
28 | 26 | ||
29 | quiet_cmd_uimage = UIMAGE $@ | 27 | UIMAGE_ARCH = unicore |
30 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A unicore -O linux -T kernel \ | 28 | UIMAGE_LOADADDR = 0x0 |
31 | -C none -a $(LOADADDR) -e $(STARTADDR) \ | ||
32 | -n 'Linux-$(KERNELRELEASE)' -d $< $@ | ||
33 | |||
34 | $(obj)/uImage: LOADADDR=0x0 | ||
35 | |||
36 | $(obj)/uImage: STARTADDR=$(LOADADDR) | ||
37 | 29 | ||
38 | $(obj)/uImage: $(obj)/zImage FORCE | 30 | $(obj)/uImage: $(obj)/zImage FORCE |
39 | $(call if_changed,uimage) | 31 | $(call if_changed,uimage) |