]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/bdwgc: only enable on supported architectures
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 1 Dec 2014 23:13:21 +0000 (00:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 2 Dec 2014 09:29:23 +0000 (10:29 +0100)
bdwgc has support for a sub-set of the architectures we support.

Since there is roughly a 50-50 split of our architectures that have
support in bdwgc vs. those that do not, use a positive dependency logic,
rather than a negative one.

The list was constructed by visual inspection of the source code of
bdwgc, but the header doing the check is, to say it politely, a bit
difficult to read...

So, some working archotectures may be missing. Users needing it may
investigate if their architectures are indeed supported.

Fixes;
    http://autobuild.buildroot.net/results/529/529b0b6dd47744c13f56e59a4c669a3f5d56530d/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Pedro Aguilar <paguilar@paguilar.org>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/bdwgc/Config.in
package/bdwgc/bdwgc.mk
package/guile/Config.in

index 9aa7c7dff51ae468ce8262e677d17afd72c88082..215c54d7e3fde9b1d77233cc7fec1f7c02661232 100644 (file)
@@ -1,5 +1,12 @@
+config BR2_PACKAGE_BDWGC_ARCH_SUPPORTS
+       default y
+       depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_i386 \
+               || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_sh \
+               || BR2_sparc || BR2_x86_64
+
 config BR2_PACKAGE_BDWGC
        bool "bdwgc"
+       depends on BR2_PACKAGE_BDWGC_ARCH_SUPPORTS
        depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
        select BR2_PACKAGE_LIBATOMIC_OPS
        help
index 3e6de1ac9d28fcacf3ee8c237ce8457d2fc42a97..b408947359adbab3fda65f533caf6e5a615db1d1 100644 (file)
@@ -4,6 +4,8 @@
 #
 ################################################################################
 
+# When bumping the version number, check if the list of supported architectures
+# is still valid; see Config.log.
 BDWGC_VERSION = 7.2f
 BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz
 BDWGC_SITE = http://www.hboehm.info/gc/gc_source
index 009dbdf27f288d4cc7fa2b5a562344f71c702729..8f86e9f20d0730a4477e957979bd345c2e9ee837 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GUILE
        bool "guile"
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_PACKAGE_BDWGC_ARCH_SUPPORTS # bdwgc
        depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS # bdwgc
        depends on BR2_USE_WCHAR # libunistring
        select BR2_PACKAGE_LIBUNISTRING