Config.in 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. config BR2_PACKAGE_MUSL_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_aarch64
  4. default y if BR2_aarch64_be
  5. default y if BR2_arm
  6. default y if BR2_armeb
  7. default y if BR2_i386
  8. default y if BR2_loongarch64
  9. default y if BR2_m68k_m68k
  10. default y if BR2_microblaze
  11. default y if BR2_mips
  12. default y if BR2_mipsel
  13. default y if BR2_mips64
  14. default y if BR2_mips64el
  15. default y if BR2_or1k
  16. default y if BR2_powerpc
  17. default y if BR2_powerpc64
  18. default y if BR2_powerpc64le
  19. default y if BR2_riscv
  20. default y if BR2_s390x
  21. default y if BR2_sh
  22. default y if BR2_x86_64
  23. depends on !BR2_POWERPC_CPU_HAS_SPE # not supported, build breaks
  24. depends on !(BR2_powerpc64 || BR2_powerpc64le) || BR2_POWERPC_CPU_HAS_ALTIVEC
  25. # sh2 nommu is supported by musl, but we don't have support
  26. # for it in Buildroot.
  27. depends on BR2_USE_MMU
  28. config BR2_PACKAGE_MUSL_SUPPORTS
  29. bool
  30. default y if BR2_PACKAGE_MUSL_ARCH_SUPPORTS
  31. config BR2_PACKAGE_MUSL
  32. bool
  33. default y
  34. depends on BR2_TOOLCHAIN_USES_MUSL
  35. select BR2_PACKAGE_LINUX_HEADERS
  36. # SSP broken on i386/ppc: http://www.openwall.com/lists/musl/2016/12/04/2
  37. select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI \
  38. && !(BR2_i386 || BR2_powerpc)
  39. # Compatibility headers: cdefs.h, queue.h
  40. select BR2_PACKAGE_MUSL_COMPAT_HEADERS
  41. help
  42. http://musl.libc.org/