1
0

Config.in.abi.default 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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_AARCH64 \
  41. || ADK_LINUX_SPARC64 \
  42. || ADK_LINUX_PPC64 \
  43. || ADK_LINUX_X86_64
  44. default "lib"
  45. config ADK_TARGET_ABI_CFLAGS
  46. string
  47. default "-mabi=32" if ADK_o32
  48. default "-mabi=n32" if ADK_n32
  49. default "-mabi=64" if ADK_n64
  50. default "-m32" if ADK_32
  51. default "-mx32" if ADK_x32
  52. default "-m64" if ADK_64