libbsd: disable for xtensa and blackfin
authorBaruch Siach <baruch@tkos.co.il>
Tue, 3 Apr 2018 05:25:37 +0000 (08:25 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 3 Apr 2018 10:52:09 +0000 (12:52 +0200)
Commit d879be30495 (package/libbsd: enable for non-glibc toolchains)
implicitly enabled libbsd for the uClibc only architectures xtensa and
blackfin. But libbsd does not support these architectures, since its
local-elf.h header lacks the required target specific definitions.

Fixes:
http://autobuild.buildroot.net/results/ff1/ff1a52a53bed43cda9e235081a61b352e6e07aa1/
http://autobuild.buildroot.net/results/b13/b13c2f248f277c72b5d266208f991f34474cea14/
http://autobuild.buildroot.net/results/182/182356701c2110a014c9d6c8d9f18a6efeb26e70/

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libbsd/Config.in

index f6c2e4be4b6885d1113dfaf8ddd23ed078899dbd..e80e9ea824c07ab33500bd4612274025cf685d4e 100644 (file)
@@ -4,6 +4,8 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
        # libbsd does not support those architectures (see src/local-elf.h)
        depends on !BR2_microblaze
        depends on !BR2_arc
+       depends on !BR2_xtensa
+       depends on !BR2_bfin
 
 config BR2_PACKAGE_LIBBSD
        bool "libbsd"