Skip to contentSkip to conversation

arm-bsp/scp-firmware: Introduce FW_INSTALL variable

PATCH New Damodar Santhapuri 1 participant 1 message Aug 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb +2 -1
index 6abe4ae..47b09aa 100644
@@ -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
Signature · 1 line
2.17.1