diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 19:32:44 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 20:05:53 +0100 |
commit | 6c07f239fa4d136fdbd010272502fbbb30b86ee9 (patch) | |
tree | 749e9557a881c2ad458e5114869d970a5aa94eb8 /classes | |
parent | b4ab8cd5d19223e88097d2b481dd07652faa356e (diff) | |
download | meta-raspberrypi-6c07f239fa4d136fdbd010272502fbbb30b86ee9.tar.gz |
sdcard_image-rpi: Check for armstub based on machine feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 |
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 |