From dac985058bb24ceb546812a43d8478ad4719320e Mon Sep 17 00:00:00 2001 From: Damodar Santhapuri Date: Mon, 10 Aug 2020 08:36:33 +0530 Subject: [PATCH] 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 Signed-off-by: Ross Burton --- meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb index 6abe4ae6..47b09aa1 100644 --- a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb +++ b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb @@ -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