From 7cc936a4955ff4873b31c0f69e8e7d2eb803d05b Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Wed, 2 Feb 2022 12:08:40 -0600 Subject: cnm-wave-fw: Fix name of firmware for j721s2 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 --- recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'recipes-bsp') 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 -- cgit v1.2.3-54-g00ecf