From 04989ab554202150fae05e90eb0c5d8e0d910ad0 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Wed, 7 Aug 2019 05:02:22 +0000 Subject: [PATCH] ipc-lld-fw: fix ALTERNATIVE use as package-specific 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 dd1f57b3..df992762 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 \