mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c5e6ae563c
commit
a4e070cfeb
|
@ -1,5 +1,4 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# 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
|
# 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
|
||||||
|
@ -13,12 +12,12 @@ LINUX_START_TEXT = $$(readelf -h vmlinux | \
|
||||||
UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)
|
UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)
|
||||||
UIMAGE_ENTRYADDR = $(LINUX_START_TEXT)
|
UIMAGE_ENTRYADDR = $(LINUX_START_TEXT)
|
||||||
|
|
||||||
|
targets += vmlinux.bin
|
||||||
|
targets += vmlinux.bin.gz
|
||||||
|
targets += vmlinux.bin.lzma
|
||||||
targets += uImage.bin
|
targets += uImage.bin
|
||||||
targets += uImage.gz
|
targets += uImage.gz
|
||||||
targets += uImage.lzma
|
targets += uImage.lzma
|
||||||
extra-y += vmlinux.bin
|
|
||||||
extra-y += vmlinux.bin.gz
|
|
||||||
extra-y += vmlinux.bin.lzma
|
|
||||||
|
|
||||||
$(obj)/vmlinux.bin: vmlinux FORCE
|
$(obj)/vmlinux.bin: vmlinux FORCE
|
||||||
$(call if_changed,objcopy)
|
$(call if_changed,objcopy)
|
||||||
|
|
Loading…
Reference in New Issue