forked from Ivasoft/openwrt
build: add support code for appending metadata to images
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -346,6 +346,8 @@ define Device/Init
|
||||
|
||||
BOARD_NAME :=
|
||||
UIMAGE_NAME :=
|
||||
SUPPORTED_DEVICES :=
|
||||
IMAGE_METADATA :=
|
||||
|
||||
FILESYSTEMS := $(TARGET_FILESYSTEMS)
|
||||
endef
|
||||
@@ -355,7 +357,8 @@ DEFAULT_DEVICE_VARS := \
|
||||
DEVICE_DTS DEVICE_DTS_DIR BOARD_NAME CMDLINE \
|
||||
UBOOTENV_IN_UBI KERNEL_IN_UBI \
|
||||
BLOCKSIZE PAGESIZE SUBPAGESIZE VID_HDR_OFFSET \
|
||||
UBINIZE_OPTS UIMAGE_NAME UBINIZE_PARTS
|
||||
UBINIZE_OPTS UIMAGE_NAME UBINIZE_PARTS \
|
||||
SUPPORTED_DEVICES IMAGE_METADATA
|
||||
|
||||
define Device/ExportVar
|
||||
$(1) : $(2):=$$($(2))
|
||||
|
||||
Reference in New Issue
Block a user