aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-24 22:53:23 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-24 22:55:16 +0000
commitb6c366efa89dcaa96072b0a12a451f873aa90077 (patch)
tree3299dc73f79ca438d2c261d00c1c31a550e9c515 /include/image.mk
parenta3611432a6c3490fb2b6fdbc1ce664cf70900668 (diff)
downloadupstream-b6c366efa89dcaa96072b0a12a451f873aa90077.tar.gz
upstream-b6c366efa89dcaa96072b0a12a451f873aa90077.tar.bz2
upstream-b6c366efa89dcaa96072b0a12a451f873aa90077.zip
image: fix append-image when building multiple profiles
In case CONFIG_TARGET_MULTI_PROFILE is set, IMG_PREFIX cannot be expanded. Use DEVICE_IMG_PREFIX instead and make sure it's defined. Fixes: 8f89b1ab0f ("image: add 'append-image' build command") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 8b7b2b9740..76c527a15e 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -419,7 +419,7 @@ DEFAULT_DEVICE_VARS := \
CMDLINE UBOOTENV_IN_UBI KERNEL_IN_UBI BLOCKSIZE PAGESIZE SUBPAGESIZE \
VID_HDR_OFFSET UBINIZE_OPTS UBINIZE_PARTS MKUBIFS_OPTS DEVICE_DTS \
DEVICE_DTS_CONFIG DEVICE_DTS_DIR DEVICE_DTS_OVERLAY DEVICE_FDT_NUM \
- SOC BOARD_NAME UIMAGE_MAGIC UIMAGE_NAME \
+ DEVICE_IMG_PREFIX SOC BOARD_NAME UIMAGE_MAGIC UIMAGE_NAME \
SUPPORTED_DEVICES IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR \
UBOOT_PATH IMAGE_SIZE \
DEVICE_COMPAT_VERSION DEVICE_COMPAT_MESSAGE \