1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-01 01:00:15 +00:00

bsp: Restore the ability to build firmware only

To allow us to continue to ship Corstone-1000 releases that only include
the firmware with the built in Linux image we need a way to build it
outside of the multiconfig builds.

Signed-off-by: Drew Reed <Drew.Reed@arm.com>
This commit is contained in:
Drew Reed
2024-02-20 15:47:40 +00:00
committed by Ross Burton
parent 02a7283944
commit 1e972c5637
2 changed files with 29 additions and 3 deletions
@@ -54,6 +54,7 @@ WKS_FILE:firmware ?= "corstone1000-flash-firmware.wks.in"
# making sure EXTRA_IMAGEDEPENDS will be used while creating the image
WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
# If not build under the firmware multiconf we need to build the actual firmware
EXTRA_IMAGEDEPENDS = "${@bb.utils.contains('DISTROOVERRIDES', 'firmware', \
'', 'firmware-deploy-image', d)}"
# If not building under the firmware multiconf we need to build the actual firmware
FIRMWARE_DEPLOYEMENT ?= "firmware-deploy-image"
FIRMWARE_DEPLOYEMENT:firmware ?= ""
EXTRA_IMAGEDEPENDS += "${FIRMWARE_DEPLOYEMENT}"