1
0

Config.in.abi.default 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. bool
  5. config ADK_n32
  6. bool
  7. config ADK_n64
  8. bool
  9. config ADK_32
  10. bool
  11. config ADK_64
  12. bool
  13. config ADK_x32
  14. bool
  15. config ADK_TARGET_ABI
  16. string
  17. default "n32" if ADK_n32
  18. default "n64" if ADK_n64
  19. default "32" if ADK_32
  20. default "x32" if ADK_x32
  21. default "eabi" if ADK_arm && ADK_soft_float
  22. default "eabihf" if ADK_arm && ADK_hard_float
  23. config ADK_TARGET_MIPS_ABI
  24. depends on ADK_TARGET_ARCH_MIPS64
  25. string
  26. default "32" if ADK_o32
  27. default "n32" if ADK_n32
  28. default "64" if ADK_n64
  29. config ADK_TARGET_LIBC_PATH
  30. string
  31. default "lib" if ADK_32
  32. default "lib32" if ADK_n32
  33. default "libx32" if ADK_x32
  34. default "lib64" if ADK_n64 \
  35. || ADK_64 \
  36. || ADK_TARGET_ARCH_AARCH64 \
  37. || ADK_TARGET_ARCH_SPARC64 \
  38. || ADK_TARGET_ARCH_PPC64 \
  39. || ADK_TARGET_ARCH_X86_64
  40. default "lib"
  41. config ADK_TARGET_ABI_CFLAGS
  42. string
  43. default "-mabi=32" if ADK_o32
  44. default "-mabi=n32" if ADK_n32
  45. default "-mabi=64" if ADK_n64
  46. default "-m32" if ADK_32
  47. default "-mx32" if ADK_x32
  48. default "-m64" if ADK_64