Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7178BE009AD; Fri, 4 Dec 2015 18:22:59 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [206.46.173.25 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from vms173025pub.verizon.net (vms173025pub.verizon.net [206.46.173.25]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4A209E00948 for ; Fri, 4 Dec 2015 18:22:55 -0800 (PST) Received: from gandalf.denix.org ([100.15.86.14]) by vms173025.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPSA id <0NYV002BX5A6AD10@vms173025.mailsrvcs.net> for meta-ti@yoctoproject.org; Fri, 04 Dec 2015 20:22:55 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=btqxfxui c=1 sm=1 tr=0 a=xDJgBcBrK5EN9DJ6g74wNQ==:117 a=0gcC27t9AAAA:8 a=oR5dmqMzAAAA:8 a=wUQvQvOEmiQA:10 a=sozttTNsAAAA:8 a=TKWfU4-Fe_D3_wOOFd4A:9 Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 36DB7161D36; Fri, 4 Dec 2015 21:22:54 -0500 (EST) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Fri, 04 Dec 2015 21:22:53 -0500 Message-id: <1449282173-13323-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.2.0 Subject: [PATCH] dspdce-fw: fix alternatives handling X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 02:22:59 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb index cf4c34c..6c6bb2a 100644 --- a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb +++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb @@ -15,7 +15,7 @@ S = "${WORKDIR}/git" require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc -PR = "r1" +PR = "r2" inherit update-alternatives DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" @@ -49,11 +49,12 @@ TARGET = "dra7-dsp1-fw.xe66" do_install() { mkdir -p ${D}${base_libdir}/firmware - cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET} + cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN} } ALTERNATIVE_${PN} = "dra7-dsp1-fw.xe66" -ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "/lib/firmware/${TARGET}" +ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}" +ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}.${BPN}" ALTERNATIVE_PRIORITY = "10" INSANE_SKIP_${PN} = "arch" -- 2.2.0