Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4E8CBE00A5C; Fri, 4 Dec 2015 19:12:17 -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=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.0 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS Received: from arago-project.org (ec2-184-73-161-183.compute-1.amazonaws.com [184.73.161.183]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 205E7E00A71 for ; Fri, 4 Dec 2015 19:12:14 -0800 (PST) Received: by arago-project.org (Postfix, from userid 107) id CDCA652ACA; Sat, 5 Dec 2015 03:12:10 +0000 (UTC) To: meta-ti@yoctoproject.org Message-Id: <20151205031210.CDCA652ACA@arago-project.org> Date: Sat, 5 Dec 2015 03:12:10 +0000 (UTC) From: git@arago-project.org (Arago Project git) Subject: Denys Dmytriyenko : 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 03:12:17 -0000 Content-Type: text/plain; charset=UTF-8 Module: meta-ti Branch: master Commit: 8a1736037d7e85e473073ded667e065d46912419 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=8a1736037d7e85e473073ded667e065d46912419 Author: Denys Dmytriyenko Date: Sat Dec 5 08:22:53 2015 +0000 dspdce-fw: fix alternatives handling Signed-off-by: Denys Dmytriyenko --- recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 7 ++++--- 1 files 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"