Commit fb0990bb authored by Vineet Gupta's avatar Vineet Gupta

ARC: [build] cleanup Makefile a bit

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent af4c3ae3
...@@ -96,11 +96,12 @@ drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/ ...@@ -96,11 +96,12 @@ drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/
libs-y += arch/arc/lib/ $(LIBGCC) libs-y += arch/arc/lib/ $(LIBGCC)
boot := arch/arc/boot
#default target for make without any arguements. #default target for make without any arguements.
KBUILD_IMAGE := bootpImage KBUILD_IMAGE := bootpImage
all: $(KBUILD_IMAGE) all: $(KBUILD_IMAGE)
boot := arch/arc/boot
bootpImage: vmlinux bootpImage: vmlinux
......
...@@ -3,7 +3,6 @@ targets := vmlinux.bin vmlinux.bin.gz uImage ...@@ -3,7 +3,6 @@ targets := vmlinux.bin vmlinux.bin.gz uImage
# uImage build relies on mkimage being availble on your host for ARC target # 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 # You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
# and make sure it's reacable from your PATH # 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 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 ...@@ -23,4 +22,3 @@ $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
$(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE $(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE
$(call if_changed,uimage) $(call if_changed,uimage)
PHONY += FORCE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment