diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-03-22 10:18:01 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-04-09 02:51:15 -0400 |
commit | fb0990bbf5e5eda5705f5511c261842787d1bdf6 (patch) | |
tree | 8f16d325e2f2b4ca33e975e8e7390e4181301f90 /arch/arc | |
parent | af4c3ae3990bb5a2f0a53c7112c9d7696a3cab95 (diff) |
ARC: [build] cleanup Makefile a bit
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/Makefile | 5 | ||||
-rw-r--r-- | arch/arc/boot/Makefile | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile index fa30453b1331..ac14601577a6 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile | |||
@@ -96,11 +96,12 @@ drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/ | |||
96 | 96 | ||
97 | libs-y += arch/arc/lib/ $(LIBGCC) | 97 | libs-y += arch/arc/lib/ $(LIBGCC) |
98 | 98 | ||
99 | boot := arch/arc/boot | ||
100 | |||
99 | #default target for make without any arguements. | 101 | #default target for make without any arguements. |
100 | KBUILD_IMAGE := bootpImage | 102 | KBUILD_IMAGE := bootpImage |
101 | 103 | ||
102 | all: $(KBUILD_IMAGE) | 104 | all: $(KBUILD_IMAGE) |
103 | boot := arch/arc/boot | ||
104 | 105 | ||
105 | bootpImage: vmlinux | 106 | bootpImage: vmlinux |
106 | 107 | ||
diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index 7d514c24e095..70416a9b452f 100644 --- a/arch/arc/boot/Makefile +++ b/arch/arc/boot/Makefile | |||
@@ -3,7 +3,6 @@ targets := vmlinux.bin vmlinux.bin.gz uImage | |||
3 | # uImage build relies on mkimage being availble on your host for ARC target | 3 | # uImage build relies on mkimage being availble on your host for ARC target |
4 | # You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage | 4 | # You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage |
5 | # and make sure it's reacable from your PATH | 5 | # and make sure it's reacable from your PATH |
6 | MKIMAGE := $(srctree)/scripts/mkuboot.sh | ||
7 | 6 | ||
8 | OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S | 7 | OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S |
9 | 8 | ||
@@ -23,4 +22,3 @@ $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE | |||
23 | $(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE | 22 | $(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE |
24 | $(call if_changed,uimage) | 23 | $(call if_changed,uimage) |
25 | 24 | ||
26 | PHONY += FORCE | ||