Skip to contentSkip to conversation

ipc-lld-fw: fix ALTERNATIVE use as package-specific

PATCH New Denys Dmytriyenko 1 participant 1 message Aug 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 recipes-bsp/ipc-lld/ipc-lld-fw_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/ipc-lld/ipc-lld-fw_git.bb +2 -2
index 4c8743d..e794df6 100644
@@ -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 \
Signature · 1 line
2.7.4