summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-03-22 15:18:01 +0100
committerVineet Gupta <vgupta@synopsys.com>2013-04-09 08:51:15 +0200
commitfb0990bbf5e5eda5705f5511c261842787d1bdf6 (patch)
tree8f16d325e2f2b4ca33e975e8e7390e4181301f90
parentARC: [build] silence make defconfig warnings with host gcc 4.7 (diff)
downloadlinux-fb0990bbf5e5eda5705f5511c261842787d1bdf6.tar.xz
linux-fb0990bbf5e5eda5705f5511c261842787d1bdf6.zip
ARC: [build] cleanup Makefile a bit
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--arch/arc/Makefile5
-rw-r--r--arch/arc/boot/Makefile2
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/
libs-y += arch/arc/lib/ $(LIBGCC)
+boot := arch/arc/boot
+
#default target for make without any arguements.
-KBUILD_IMAGE := bootpImage
+KBUILD_IMAGE := bootpImage
all: $(KBUILD_IMAGE)
-boot := arch/arc/boot
bootpImage: vmlinux
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
# uImage build relies on mkimage being availble on your host for ARC target
# You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
# and make sure it's reacable from your PATH
-MKIMAGE := $(srctree)/scripts/mkuboot.sh
OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
@@ -23,4 +22,3 @@ $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
$(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE
$(call if_changed,uimage)
-PHONY += FORCE