pi-blaster: 32-bit target only

The pi-blaster code only works on 32-bit targets.
See https://github.com/sarfata/pi-blaster/issues/114

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
This commit is contained in:
Trevor Woerner 2025-08-11 17:00:15 -04:00 committed by Andrei Gherzan
parent 65eec6d4e8
commit 93375824f4
2 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,6 @@ RDEPENDS:${PN} = "\
raspi-gpio \
rpio \
rpi-gpio \
pi-blaster \
python3-adafruit-circuitpython-register \
python3-adafruit-platformdetect \
python3-adafruit-pureio \
@ -27,6 +26,9 @@ RDEPENDS:${PN} = "\
bluez5 \
"
RDEPENDS:${PN}:append:rpi:armv7a = " pi-blaster"
RDEPENDS:${PN}:append:rpi:armv7ve = " pi-blaster"
RRECOMMENDS:${PN} = "\
${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-multimedia", "bigbuckbunny-1080p bigbuckbunny-480p bigbuckbunny-720p", "", d)} \
${MACHINE_EXTRA_RRECOMMENDS} \

View File

@ -16,6 +16,10 @@ INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME:${PN} = "${PN}.boot.sh"
INITSCRIPT_PARAMS:${PN} = "defaults 15 85"
COMPATIBLE_MACHINE = "^rpi$"
# only works on 32-bit targets
# https://github.com/sarfata/pi-blaster/issues/114
COMPATIBLE_MACHINE = "(^$)"
COMPATIBLE_MACHINE:rpi:armv7a = "(.*)"
COMPATIBLE_MACHINE:rpi:armv7ve = "(.*)"
PACKAGE_ARCH = "${MACHINE_ARCH}"