Update the name of the firmware for j721s2 as the file
was renamed.  Also, fix a typo in the variable name.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb 
b/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb
index 6a36d733..3dd0f4f4 100644
--- a/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb
+++ b/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb
@@ -9,7 +9,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0"
 
 PV = "${CNM_WAVE521_FW_VERSION}"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 CLEANBROKEN = "1"
 
@@ -18,10 +18,11 @@ COMPATIBLE_MACHINE = "j7"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 S = "${WORKDIR}/git"
-TARGET_WAVE215C = "wave521c_codec_fw.bin"
+TARGET_WAVE521C = "wave521c_codec_fw.bin"
+TARGET_WAVE521C_j721s2-evm = "wave521c_j721s2_codec_fw.bin"
 
-ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] = 
"${base_libdir}/firmware/${TARGET_WAVE215C}"
-ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = 
"${base_libdir}/firmware/cnm/${TARGET_WAVE215C}"
+ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] = 
"${base_libdir}/firmware/${TARGET_WAVE521C}"
+ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = 
"${base_libdir}/firmware/cnm/${TARGET_WAVE521C}"
 ALTERNATIVE_PRIORITY = "10"
 
 # Set up names for the firmwares
@@ -30,7 +31,7 @@ ALTERNATIVE_${PN}_j7 = "\
 
 do_install() {
        install -d ${D}${base_libdir}/firmware/cnm
-       install -m 0644 ${S}/cnm/${TARGET_WAVE215C} 
${D}${base_libdir}/firmware/cnm/${TARGET_WAVE215C}
+       install -m 0644 ${S}/cnm/${TARGET_WAVE521C} 
${D}${base_libdir}/firmware/cnm/${TARGET_WAVE521C}
 }
 
 # make sure that lib/firmware, and all its contents are part of the package
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13489): 
https://lists.yoctoproject.org/g/meta-arago/message/13489
Mute This Topic: https://lists.yoctoproject.org/mt/88865241/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to