mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-21 09:22:25 +01:00
mvebu: move FitImage recipe to generic image Makefile
Move the Device/FitImage recipe to the generic image Makefile to avoid duplicating it for other subtargets. Will be used for uDPU/eDPU. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
parent
89655c0825
commit
f03bb44a08
2 changed files with 6 additions and 6 deletions
|
|
@ -149,6 +149,12 @@ define Build/uDPU-firmware
|
|||
-f $(KDIR_TMP)/$(DEVICE_IMG_PREFIX)-firmware.tgz -C $@-fw .
|
||||
endef
|
||||
|
||||
define Device/FitImage
|
||||
KERNEL_SUFFIX := -uImage.itb
|
||||
KERNEL = kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(DEVICE_DTS).dtb
|
||||
KERNEL_NAME := Image
|
||||
endef
|
||||
|
||||
define Device/Default
|
||||
PROFILES := Default
|
||||
DEVICE_DTS = $$(SOC)-$(lastword $(subst _, ,$(1)))
|
||||
|
|
|
|||
|
|
@ -2,12 +2,6 @@ define Build/append-bootscript
|
|||
cat $@-boot.scr >> $@
|
||||
endef
|
||||
|
||||
define Device/FitImage
|
||||
KERNEL_SUFFIX := -uImage.itb
|
||||
KERNEL = kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(DEVICE_DTS).dtb
|
||||
KERNEL_NAME := Image
|
||||
endef
|
||||
|
||||
define Device/UbiFit
|
||||
KERNEL_IN_UBI := 1
|
||||
IMAGES := factory.ubi sysupgrade.bin
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue