diff options
author | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 04:14:21 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:50 -0600 |
commit | 5de2a62051d5e3f5e2f272e05ccd22255c6da60f (patch) | |
tree | ea7cb3bced49146bcb70587331b8e2fb48d702f7 /meta-ti-bsp | |
parent | c5a566266d2a59a92e4954cd8511d0203a69313b (diff) | |
download | meta-ti-5de2a62051d5e3f5e2f272e05ccd22255c6da60f.tar.gz |
cnm-wave-fw: Split firmware name into target and source
We need to control both the source name of the firmware and
the target name, so split the current variable into two and
update the install command.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb index a35370c7..50058b97 100644 --- a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +++ b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | |||
@@ -19,7 +19,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
19 | 19 | ||
20 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
21 | TARGET_WAVE521C = "wave521c_codec_fw.bin" | 21 | TARGET_WAVE521C = "wave521c_codec_fw.bin" |
22 | TARGET_WAVE521C:j721s2-evm = "wave521c_j721s2_codec_fw.bin" | 22 | |
23 | SOURCE_WAVE521C = "wave521c_codec_fw.bin" | ||
24 | SOURCE_WAVE521C:j721s2-evm = "wave521c_j721s2_codec_fw.bin" | ||
23 | 25 | ||
24 | ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/${TARGET_WAVE521C}" | 26 | ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/${TARGET_WAVE521C}" |
25 | ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C}" | 27 | ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C}" |
@@ -31,7 +33,7 @@ ALTERNATIVE_${PN}:j7 = "\ | |||
31 | 33 | ||
32 | do_install() { | 34 | do_install() { |
33 | install -d ${D}${nonarch_base_libdir}/firmware/cnm | 35 | install -d ${D}${nonarch_base_libdir}/firmware/cnm |
34 | install -m 0644 ${S}/cnm/${TARGET_WAVE521C} ${D}${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C} | 36 | install -m 0644 ${S}/cnm/${SOURCE_WAVE521C} ${D}${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C} |
35 | } | 37 | } |
36 | 38 | ||
37 | # make sure that lib/firmware, and all its contents are part of the package | 39 | # make sure that lib/firmware, and all its contents are part of the package |