2
1

Config.in 1.2 KB

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