Config.in 937 B

123456789101112131415161718192021222324
  1. config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
  2. bool
  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
  7. config BR2_PACKAGE_LIBBSD
  8. bool "libbsd"
  9. depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
  10. depends on BR2_TOOLCHAIN_HAS_THREADS
  11. depends on BR2_TOOLCHAIN_USES_GLIBC
  12. help
  13. This library provides useful functions commonly found on BSD
  14. systems, and lacking on others like GNU systems, thus making
  15. it easier to port projects with strong BSD origins, without
  16. needing to embed the same code over and over again on each
  17. project.
  18. http://libbsd.freedesktop.org/
  19. comment "libbsd needs an (e)glibc toolchain w/ threads"
  20. depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
  21. depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC