kumquat-buildroot/package/libbsd/Config.in
Carlos Santos 92fd33a158 libbsd: upgrade to v0.8.2 and expand architecture support
When libbsd still supported uClibc as a C library, we added the architecture
exclusions because uClibc's a.out.h includes linux/a.out.h. The latter only
exists for the specified architectures.

However, glibc doesn't include linux/a.out.h, it instead has its own
implementation and it adds a flag to indicate if a.out is supported on this
architecture or not.

Since libbsd currently only supports glibc-based toolchains, the architecture
exclusions are no longer valid.

On microblaze, the build still fails, but this time because of ELF support.
libbsd explicitly handles architectures and microblaze is not one of them (see
local-elf.h).

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-05 23:23:35 +01:00

23 lines
791 B
Plaintext

config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
bool
# libbsd does not support the MicroBlaze ELF machine type (see local-elf.h)
default y if !BR2_microblaze
config BR2_PACKAGE_LIBBSD
bool "libbsd"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_USES_GLIBC
help
This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making
it easier to port projects with strong BSD origins, without
needing to embed the same code over and over again on each
project.
http://libbsd.freedesktop.org/
comment "libbsd needs an (e)glibc toolchain w/ threads"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC