summaryrefslogtreecommitdiff
path: root/package/libbsd/Config.in
blob: 9b5b89812f57321ab23d8fd40b6d9314251deeea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 a glibc toolchain w/ threads"
	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC