From a969efd2e372e9c4cff4ad11addbcc525e090944 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Fri, 19 Jul 2019 19:32:30 +0100 Subject: rpi-config: Check for armstub based on machine feature Signed-off-by: Andrei Gherzan --- recipes-bsp/bootfiles/rpi-config_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 0efb274..160bc16 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -193,7 +193,7 @@ do_deploy() { printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt # Handle setup with armstub file - if [ -n "${ARMSTUB}" ]; then + if [ "${@bb.utils.contains("MACHINE_FEATURES", "armstub", "1", "0", d)}" = "1" ]; then echo "\n# ARM stub configuration" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt echo "armstub=${ARMSTUB}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt case "${ARMSTUB}" in -- cgit v1.2.3-54-g00ecf