Skip to content

Commit 9337582

Browse files
twoerneragherzan
authored andcommitted
pi-blaster: 32-bit target only
The pi-blaster code only works on 32-bit targets. See sarfata/pi-blaster#114 Signed-off-by: Trevor Woerner <twoerner@gmail.com>
1 parent 65eec6d commit 9337582

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

recipes-core/packagegroups/packagegroup-rpi-test.bb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ RDEPENDS:${PN} = "\
1616
raspi-gpio \
1717
rpio \
1818
rpi-gpio \
19-
pi-blaster \
2019
python3-adafruit-circuitpython-register \
2120
python3-adafruit-platformdetect \
2221
python3-adafruit-pureio \
@@ -27,6 +26,9 @@ RDEPENDS:${PN} = "\
2726
bluez5 \
2827
"
2928

29+
RDEPENDS:${PN}:append:rpi:armv7a = " pi-blaster"
30+
RDEPENDS:${PN}:append:rpi:armv7ve = " pi-blaster"
31+
3032
RRECOMMENDS:${PN} = "\
3133
${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-multimedia", "bigbuckbunny-1080p bigbuckbunny-480p bigbuckbunny-720p", "", d)} \
3234
${MACHINE_EXTRA_RRECOMMENDS} \

recipes-devtools/pi-blaster/pi-blaster_git.bb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ INITSCRIPT_PACKAGES = "${PN}"
1616
INITSCRIPT_NAME:${PN} = "${PN}.boot.sh"
1717
INITSCRIPT_PARAMS:${PN} = "defaults 15 85"
1818

19-
COMPATIBLE_MACHINE = "^rpi$"
19+
# only works on 32-bit targets
20+
# https://github.com/sarfata/pi-blaster/issues/114
21+
COMPATIBLE_MACHINE = "(^$)"
22+
COMPATIBLE_MACHINE:rpi:armv7a = "(.*)"
23+
COMPATIBLE_MACHINE:rpi:armv7ve = "(.*)"
2024

2125
PACKAGE_ARCH = "${MACHINE_ARCH}"

0 commit comments

Comments
 (0)