1 config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
3 # libbsd requires a.out.h, which is only available for those
4 # architectures: arm, x86 (and alpha, currently not supported in Buildroot;
5 # also m68k which is currently not enabled, so can't be tested.)
6 default y if BR2_arm || BR2_i386 || BR2_x86_64
8 config BR2_PACKAGE_LIBBSD
10 depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
11 depends on BR2_TOOLCHAIN_HAS_THREADS
12 depends on BR2_TOOLCHAIN_USES_GLIBC
14 This library provides useful functions commonly found on BSD
15 systems, and lacking on others like GNU systems, thus making
16 it easier to port projects with strong BSD origins, without
17 needing to embed the same code over and over again on each
20 http://libbsd.freedesktop.org/
22 comment "libbsd needs an (e)glibc toolchain w/ threads"
23 depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
24 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC