Skip to content

Commit a4e070c

Browse files
masahir0yvineetgarc
authored andcommitted
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 <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent c5e6ae5 commit a4e070c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

arch/arc/boot/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
targets := vmlinux.bin vmlinux.bin.gz
32

43
# uImage build relies on mkimage being availble on your host for ARC target
54
# 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 | \
1312
UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)
1413
UIMAGE_ENTRYADDR = $(LINUX_START_TEXT)
1514

15+
targets += vmlinux.bin
16+
targets += vmlinux.bin.gz
17+
targets += vmlinux.bin.lzma
1618
targets += uImage.bin
1719
targets += uImage.gz
1820
targets += uImage.lzma
19-
extra-y += vmlinux.bin
20-
extra-y += vmlinux.bin.gz
21-
extra-y += vmlinux.bin.lzma
2221

2322
$(obj)/vmlinux.bin: vmlinux FORCE
2423
$(call if_changed,objcopy)

0 commit comments

Comments
 (0)