summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2019-07-19 19:32:30 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2019-07-19 20:05:53 +0100
commitb4ab8cd5d19223e88097d2b481dd07652faa356e (patch)
treea0cde92bbced8c6c9fdfc3e8b139f2a8695dc983 /recipes-bsp
parent9381de8f91e63b0c1d6949419a28f2c6741fab5c (diff)
downloadmeta-raspberrypi-b4ab8cd5d19223e88097d2b481dd07652faa356e.tar.gz
rpi-config: Check for armstub based on machine feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-bsp')
-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