Config.in.abi.default 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_o32
  4. boolean
  5. config ADK_n32
  6. boolean
  7. config ADK_n64
  8. boolean
  9. config ADK_32
  10. boolean
  11. config ADK_64
  12. boolean
  13. config ADK_x32
  14. boolean
  15. config ADK_eabi
  16. boolean
  17. config ADK_eabihf
  18. boolean
  19. config ADK_TARGET_ABI
  20. string
  21. default "n32" if ADK_n32
  22. default "n64" if ADK_n64
  23. default "32" if ADK_32
  24. default "x32" if ADK_x32
  25. default "eabi" if ADK_eabi
  26. default "eabihf" if ADK_eabihf
  27. config ADK_TARGET_MIPS_ABI
  28. depends on ADK_LINUX_MIPS64
  29. string
  30. default "32" if ADK_o32
  31. default "n32" if ADK_n32
  32. default "64" if ADK_n64
  33. config ADK_TARGET_LIBC_PATH
  34. string
  35. default "lib" if ADK_32
  36. default "lib32" if ADK_n32
  37. default "libx32" if ADK_x32
  38. default "lib64" if ADK_n64 \
  39. || ADK_64 \
  40. || ADK_LINUX_SPARC64 \
  41. || ADK_LINUX_PPC64 \
  42. || ADK_LINUX_X86_64
  43. default "lib"
  44. config ADK_TARGET_ABI_CFLAGS
  45. string
  46. default "-mabi=32" if ADK_o32
  47. default "-mabi=n32" if ADK_n32
  48. default "-mabi=64" if ADK_n64
  49. default "-m32" if ADK_32
  50. default "-mx32" if ADK_x32
  51. default "-m64" if ADK_64