diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-11-22 04:36:56 +0900 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2020-12-01 17:24:05 -0800 |
commit | a4e070cfeb9d4961a169a2f1a614665cf51de963 (patch) | |
tree | 9d9036348a61652c4f9d088c4c7dc1159f5d7508 /arch/arc/boot | |
parent | c5e6ae563c802c4d828d42e134af64004db2e58c (diff) | |
download | linux-a4e070cfeb9d4961a169a2f1a614665cf51de963.tar.bz2 |
ARC: build: remove unneeded extra-y
Adding vmlinux.* to extra-y has no point because we expect they are
built on demand while building uImage.*
Add them to 'targets' is enough to include the corresponding .cmd file.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot')
-rw-r--r-- | arch/arc/boot/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index 3b1f8a69a89e..b3870cc100bf 100644 --- a/arch/arc/boot/Makefile +++ b/arch/arc/boot/Makefile @@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -targets := vmlinux.bin vmlinux.bin.gz # 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 @@ -13,12 +12,12 @@ LINUX_START_TEXT = $$(readelf -h vmlinux | \ UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE) UIMAGE_ENTRYADDR = $(LINUX_START_TEXT) +targets += vmlinux.bin +targets += vmlinux.bin.gz +targets += vmlinux.bin.lzma targets += uImage.bin targets += uImage.gz targets += uImage.lzma -extra-y += vmlinux.bin -extra-y += vmlinux.bin.gz -extra-y += vmlinux.bin.lzma $(obj)/vmlinux.bin: vmlinux FORCE $(call if_changed,objcopy) |