summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2019-07-19 19:32:44 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2019-07-20 21:56:21 +0100
commit95d528b07a1a646f8a18407fbbb2ce5b57c49a00 (patch)
treef2921f1339e0ef500c233d12ff8341e8fe6d3d09
parenta969efd2e372e9c4cff4ad11addbcc525e090944 (diff)
downloadmeta-raspberrypi-95d528b07a1a646f8a18407fbbb2ce5b57c49a00.tar.gz
sdcard_image-rpi: Check for armstub based on machine feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--classes/sdcard_image-rpi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index 4410c21..041abb4 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -114,7 +114,7 @@ IMAGE_CMD_rpi-sdimg () {
114 rm -f ${WORKDIR}/boot.img 114 rm -f ${WORKDIR}/boot.img
115 mkfs.vfat -F32 -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS 115 mkfs.vfat -F32 -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS
116 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/ 116 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/
117 if [ -n "${ARMSTUB}" ]; then 117 if [ "${@bb.utils.contains("MACHINE_FEATURES", "armstub", "1", "0", d)}" = "1" ]; then
118 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/armstubs/${ARMSTUB} ::/ 118 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/armstubs/${ARMSTUB} ::/
119 fi 119 fi
120 if test -n "${DTS}"; then 120 if test -n "${DTS}"; then