Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.8953.1645503275976386247 for ; Mon, 21 Feb 2022 20:14:36 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 6812940C8A for ; Tue, 22 Feb 2022 04:14:35 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01nKWOIygn4B for ; Tue, 22 Feb 2022 04:14:35 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 5DCBA40C79 for ; Tue, 22 Feb 2022 04:14:34 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 490C3174771 for ; Mon, 21 Feb 2022 23:14:34 -0500 (EST) From: "Denys Dmytriyenko" To: meta-ti@lists.yoctoproject.org Subject: [PATCH 20/29] cnm-wave-fw: Split firmware name into target and source Date: Tue, 22 Feb 2022 04:14:21 +0000 Message-Id: <20220222041430.2840289-21-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220222041430.2840289-1-denis@denix.org> References: <20220222041430.2840289-1-denis@denix.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Ryan Eatmon 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 Signed-off-by: Denys Dmytriyenko --- meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/met= a-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 =3D "${MACHINE_ARCH}" =20 S =3D "${WORKDIR}/git" TARGET_WAVE521C =3D "wave521c_codec_fw.bin" -TARGET_WAVE521C:j721s2-evm =3D "wave521c_j721s2_codec_fw.bin" + +SOURCE_WAVE521C =3D "wave521c_codec_fw.bin" +SOURCE_WAVE521C:j721s2-evm =3D "wave521c_j721s2_codec_fw.bin" =20 ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] =3D "${nonarch_base_libdir}= /firmware/${TARGET_WAVE521C}" ALTERNATIVE_TARGET[wave521c_codec_fw.bin] =3D "${nonarch_base_libdir}/fi= rmware/cnm/${TARGET_WAVE521C}" @@ -31,7 +33,7 @@ ALTERNATIVE_${PN}:j7 =3D "\ =20 do_install() { install -d ${D}${nonarch_base_libdir}/firmware/cnm - install -m 0644 ${S}/cnm/${TARGET_WAVE521C} ${D}${nonarch_base_libdir}/= firmware/cnm/${TARGET_WAVE521C} + install -m 0644 ${S}/cnm/${SOURCE_WAVE521C} ${D}${nonarch_base_libdir}/= firmware/cnm/${TARGET_WAVE521C} } =20 # make sure that lib/firmware, and all its contents are part of the pack= age --=20 2.25.1