image: fix append-image when building multiple profiles
authorDaniel Golle <daniel@makrotopia.org>
Wed, 24 Mar 2021 22:53:23 +0000 (22:53 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 24 Mar 2021 22:55:16 +0000 (22:55 +0000)
commitb6c366efa89dcaa96072b0a12a451f873aa90077
tree3299dc73f79ca438d2c261d00c1c31a550e9c515
parenta3611432a6c3490fb2b6fdbc1ce664cf70900668
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>
include/image-commands.mk
include/image.mk