diff options
author | Michael Pratt <mcpratt@pm.me> | 2022-12-21 21:33:04 -0500 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-01-06 15:34:07 +0100 |
commit | ee87dbb3fef2c0771b20967ec4a8638fdab9c9bf (patch) | |
tree | bbd2db5ceff0d8810dce4032d77e3285e183b6d1 /include/image.mk | |
parent | 1e3a8f454e46e6c235b972571761a0c6b23a3bfd (diff) | |
download | upstream-ee87dbb3fef2c0771b20967ec4a8638fdab9c9bf.tar.gz upstream-ee87dbb3fef2c0771b20967ec4a8638fdab9c9bf.tar.bz2 upstream-ee87dbb3fef2c0771b20967ec4a8638fdab9c9bf.zip |
image: add gzip-filename build recipe
Some vendors use basic gzip metadata (original filename and timestamp)
to verify valid images, along with the size of it's contents.
Also, add a new device profile variable FACTORY_IMG_NAME
which would be ideal to use with this new recipe.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk index 5d9d4acb41..01bc3bda86 100644 --- a/include/image.mk +++ b/include/image.mk @@ -359,6 +359,7 @@ define Device/Init ARTIFACTS := DEVICE_IMG_PREFIX := $(IMG_PREFIX)-$(1) DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(1)-$$(2) + FACTORY_IMG_NAME := IMAGE_SIZE := KERNEL_PREFIX = $$(DEVICE_IMG_PREFIX) KERNEL_SUFFIX := -kernel.bin @@ -418,6 +419,7 @@ DEFAULT_DEVICE_VARS := \ DEVICE_FDT_NUM DEVICE_IMG_PREFIX SOC BOARD_NAME UIMAGE_MAGIC UIMAGE_NAME \ SUPPORTED_DEVICES IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR \ UBOOT_PATH IMAGE_SIZE \ + FACTORY_IMG_NAME \ DEVICE_PACKAGES DEVICE_COMPAT_VERSION DEVICE_COMPAT_MESSAGE \ DEVICE_VENDOR DEVICE_MODEL DEVICE_VARIANT \ DEVICE_ALT0_VENDOR DEVICE_ALT0_MODEL DEVICE_ALT0_VARIANT \ |