hc
2023-02-14 0cc9b7c44253c93447ddf73e206fbdbb3d9f16b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
   bool
   default y
   # libbsd does not support those architectures (see src/local-elf.h)
   depends on !BR2_microblaze
   depends on !BR2_arc
 
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