aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-27 09:35:09 -0800
committerAndrei Gherzan <andrei@gherzan.com>2021-02-27 20:26:29 +0000
commit0a83508fac9397fe570415622164f56b32715ced (patch)
tree18d947a4c84d19910221d54390eec401f02f226a
parent0a89fb8dac35d12fa94a6598e04847e06645fe76 (diff)
downloadmeta-raspberrypi-0a83508fac9397fe570415622164f56b32715ced.tar.gz
meta-raspberrypi-0a83508fac9397fe570415622164f56b32715ced.tar.bz2
meta-raspberrypi-0a83508fac9397fe570415622164f56b32715ced.zip
python3-adafruit-blinka: Make rpi-gpio dependency conditional
https://github.com/agherzan/meta-raspberrypi/pull/815 introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio, however rpi-gpio is rpi specific package, and therefore should only be added when building rpi based platforms, this makes the layer work in a multi-bsp setup work Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb b/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb
index 03993df..fb5db2c 100644
--- a/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb
+++ b/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb
@@ -17,5 +17,6 @@ RDEPENDS_${PN} += " \
python3-adafruit-platformdetect \
python3-adafruit-pureio \
python3-core \
- rpi-gpio \
"
+
+RDEPENDS_${PN}_append_rpi = " rpi-gpio"