Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EDB6FE00D77; Tue, 6 Aug 2019 16:02:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AF1A0E00C9B for ; Tue, 6 Aug 2019 16:02:26 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id D8C6340BCC; Tue, 6 Aug 2019 23:02:25 +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 MYPhEhbAJ6DG; Tue, 6 Aug 2019 23:02:25 +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 BDC5A40BAF; Tue, 6 Aug 2019 23:02:24 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id EE21C1722F5; Tue, 6 Aug 2019 19:02:23 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Tue, 6 Aug 2019 19:02:22 -0400 Message-Id: <1565132542-24093-1-git-send-email-denys@ti.com> X-Mailer: git-send-email 2.7.4 Subject: [thud/master][PATCH] ipc-lld-fw: fix ALTERNATIVE use as package-specific 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: Tue, 06 Aug 2019 23:02:29 -0000 Previous commit, while adding support for another platform, extended ALTERNATIVE variable (which is package-specific) with machine overrides, accidentally dropping the necessary ${PN} suffix in the process. Restore it to make update-alternatives system work again. Signed-off-by: Denys Dmytriyenko --- recipes-bsp/ipc-lld/ipc-lld-fw_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb b/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb index 4c8743d..e794df6 100644 --- a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb +++ b/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb @@ -74,11 +74,11 @@ do_install_append_j7-evm() { } # Set up names for the firmwares -ALTERNATIVE_am65xx = "\ +ALTERNATIVE_${PN}_am65xx = "\ am65x-mcu-r5f0_0-fw \ am65x-mcu-r5f0_1-fw \ " -ALTERNATIVE_j7-evm = "\ +ALTERNATIVE_${PN}_j7-evm = "\ j7-mcu-r5f0_0-fw \ j7-mcu-r5f0_1-fw \ j7-main-r5f0_0-fw \ -- 2.7.4