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>
(cherry picked from commit 0a83508fac)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
Khem Raj 2021-02-27 09:35:09 -08:00 committed by Andrei Gherzan
parent 61dbe0edd7
commit cb60274634

View File

@ -17,5 +17,6 @@ RDEPENDS_${PN} += " \
python3-adafruit-platformdetect \ python3-adafruit-platformdetect \
python3-adafruit-pureio \ python3-adafruit-pureio \
python3-core \ python3-core \
rpi-gpio \
" "
RDEPENDS_${PN}_append_rpi = " rpi-gpio"