From 0a83508fac9397fe570415622164f56b32715ced Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 27 Feb 2021 09:35:09 -0800 Subject: [PATCH] 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 --- recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"