summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2019-07-19 19:32:30 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2019-07-20 21:56:21 +0100
commita969efd2e372e9c4cff4ad11addbcc525e090944 (patch)
tree26bc77bfea9c88718901d7d75936720457e51dc8
parent690bdca57422447e49d4ef43862bf675e9acc28f (diff)
downloadmeta-raspberrypi-a969efd2e372e9c4cff4ad11addbcc525e090944.tar.gz
rpi-config: Check for armstub based on machine feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--recipes-bsp/bootfiles/rpi-config_git.bb2
1 files changed, 1 insertions, 1 deletions
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() {
193 printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt 193 printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
194 194
195 # Handle setup with armstub file 195 # Handle setup with armstub file
196 if [ -n "${ARMSTUB}" ]; then 196 if [ "${@bb.utils.contains("MACHINE_FEATURES", "armstub", "1", "0", d)}" = "1" ]; then
197 echo "\n# ARM stub configuration" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt 197 echo "\n# ARM stub configuration" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
198 echo "armstub=${ARMSTUB}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt 198 echo "armstub=${ARMSTUB}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
199 case "${ARMSTUB}" in 199 case "${ARMSTUB}" in