mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-06 02:40:18 +00:00
arm-bsp/scp-firmware: Introduce FW_INSTALL variable
Use the FW_INSTALL variable to select which firmware binaries should be installed in the target. Change-Id: I6bffa3db9adc27a5ee43b316a12a758c48acb43f Signed-off-by: Damodar Santhapuri <damodar.santhapuri@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
committed by
Ross Burton
parent
fa5624af38
commit
dac985058b
@@ -28,6 +28,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
# Allow platform specific copying of only scp or both scp & mcp, default to both
|
||||
FW_TARGETS ?= "scp mcp"
|
||||
FW_INSTALL ?= "ramfw romfw"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE ?= "invalid"
|
||||
@@ -56,7 +57,7 @@ do_compile[cleandirs] += "${B}"
|
||||
do_install() {
|
||||
install -d ${D}/firmware
|
||||
for FW in ${FW_TARGETS}; do
|
||||
for TYPE in ramfw romfw; do
|
||||
for TYPE in ${FW_INSTALL}; do
|
||||
install -D "${B}/product/${SCP_PLATFORM}/${FW}_${TYPE}/release/bin/${FW}_${TYPE}.bin" "${D}/firmware/"
|
||||
done
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user