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>
This commit is contained in:
Khem Raj 2021-02-27 09:35:09 -08:00 committed by Andrei Gherzan
parent 0a89fb8dac
commit 0a83508fac

View File

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