package/python-greenlet: enable only on supported architectures
authorJames Hilliard <james.hilliard1@gmail.com>
Sun, 19 Apr 2020 23:38:23 +0000 (17:38 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 20 Apr 2020 05:51:08 +0000 (07:51 +0200)
Fixes:

  http://autobuild.buildroot.net/results/4161bfcd9577cdc6b9795fc3d6903f3bcc124f99/
  http://autobuild.buildroot.net/results/be709462bbab54e4f405302d54d157218f867939/
  http://autobuild.buildroot.net/results/b0ca52e3948cbbc5bb8c6ce08932e355653b08d7/
  http://autobuild.buildroot.net/results/cd748aa26fdabcef72a581e1fe26edac14d07d2d/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-greenlet/Config.in

index ef82375b0bca4001914b23ead18d082f2e142262..44ab96b48851f7736429970d68de305574e86c2c 100644 (file)
@@ -1,5 +1,18 @@
+config BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS
+       bool
+       default y if BR2_arm || BR2_armeb
+       default y if BR2_aarch64
+       default y if BR2_csky
+       default y if BR2_m68k
+       default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+       default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
+       default y if BR2_riscv
+       default y if BR2_sparc || BR2_sparc64
+       default y if BR2_x86
+
 config BR2_PACKAGE_PYTHON_GREENLET
        bool "python-greenlet"
+       depends on BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS
        help
          Lightweight in-process concurrent programming.