hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arc/boot/Makefile
....@@ -1,5 +1,5 @@
11 # SPDX-License-Identifier: GPL-2.0
2
-targets := vmlinux.bin vmlinux.bin.gz uImage
2
+targets := vmlinux.bin vmlinux.bin.gz
33
44 # uImage build relies on mkimage being availble on your host for ARC target
55 # You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
....@@ -13,11 +13,6 @@
1313 UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)
1414 UIMAGE_ENTRYADDR = $(LINUX_START_TEXT)
1515
16
-suffix-y := bin
17
-suffix-$(CONFIG_KERNEL_GZIP) := gz
18
-suffix-$(CONFIG_KERNEL_LZMA) := lzma
19
-
20
-targets += uImage
2116 targets += uImage.bin
2217 targets += uImage.gz
2318 targets += uImage.lzma
....@@ -42,7 +37,3 @@
4237
4338 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
4439 $(call if_changed,uimage,lzma)
45
-
46
-$(obj)/uImage: $(obj)/uImage.$(suffix-y)
47
- @ln -sf $(notdir $<) $@
48
- @echo ' Image $@ is ready'