Skip to contentSkip to conversation

package/python-greenlet: disable on unsupported architectures

PATCH New James Hilliard 2 participants 2 messages Apr 19, 2020 – Apr 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-greenlet: disable on unsupported architectures

Fixes:
http://autobuild.buildroot.net/results/416/4161bfcd9577cdc6b9795fc3d6903f3bcc124f99/build-end.log
http://autobuild.buildroot.net/results/be7/be709462bbab54e4f405302d54d157218f867939/build-end.log
http://autobuild.buildroot.net/results/b0c/b0ca52e3948cbbc5bb8c6ce08932e355653b08d7/build-end.log
http://autobuild.buildroot.net/results/cd7/cd748aa26fdabcef72a581e1fe26edac14d07d2d/build-end.log

---
 package/python-greenlet/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/python-greenlet/Config.in +6 -0
index ef82375b0b..eae76ef6be 100644
@@ -1,5 +1,11 @@
 config BR2_PACKAGE_PYTHON_GREENLET
 	bool "python-greenlet"
+	depends on !BR2_arceb
+	depends on !BR2_arcle
+	depends on !BR2_microblazebe
+	depends on !BR2_microblazeel
+	depends on !BR2_or1k
+	depends on !BR2_sh
 	help
 	  Lightweight in-process concurrent programming.
 
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/python-greenlet: disable on unsupported architectures

package/python-greenlet/Config.in line 8

Quoted 13 lines · On Sun, 19 Apr 2020 17:38:23 -0600 James Hilliard <[email protected]>…
package/python-greenlet/Config.in +6 -0
index ef82375b0b..eae76ef6be 100644
@@ -1,5 +1,11 @@
 config BR2_PACKAGE_PYTHON_GREENLET
 	bool "python-greenlet"
+	depends on !BR2_arceb
+	depends on !BR2_arcle
+	depends on !BR2_microblazebe
+	depends on !BR2_microblazeel
+	depends on !BR2_or1k
+	depends on !BR2_sh

We prefer to use a BR2_PACKAGE_foo_ARCH_SUPPORTS hidden boolean, and to use positive logic (i.e enable the package for supported architectures, not disable for unsupported one). For example, you had probably missed nios2 or nds32 as unsupported architectures.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com