1
0

Config.in.abi.default 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_TARGET_ABI
  4. string
  5. default "n32" if ADK_TARGET_ABI_N32
  6. default "n64" if ADK_TARGET_ABI_N64
  7. default "32" if ADK_TARGET_ABI_32
  8. default "x32" if ADK_TARGET_ABI_X32
  9. default "eabihf" if ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  10. default "eabi" if ADK_TARGET_ARCH_ARM
  11. config ADK_TARGET_MIPS_ABI
  12. depends on ADK_TARGET_ARCH_MIPS64
  13. string
  14. default "32" if ADK_TARGET_ABI_O32
  15. default "n32" if ADK_TARGET_ABI_N32
  16. default "64" if ADK_TARGET_ABI_N64
  17. config ADK_TARGET_LIBC_PATH
  18. string
  19. default "lib32" if ADK_TARGET_ABI_N32
  20. default "libx32" if ADK_TARGET_ABI_X32
  21. default "lib64" if ADK_TARGET_ABI_64 || ADK_TARGET_ABI_N64 \
  22. || ADK_TARGET_ARCH_AARCH64 \
  23. || ADK_TARGET_ARCH_SPARC64 \
  24. || ADK_TARGET_ARCH_PPC64 \
  25. || ADK_TARGET_ARCH_X86_64
  26. default "lib"
  27. config ADK_TARGET_ABI_CFLAGS
  28. string
  29. default "-mabi=32" if ADK_TARGET_ABI_O32
  30. default "-mabi=n32" if ADK_TARGET_ABI_N32
  31. default "-mabi=64" if ADK_TARGET_ABI_N64
  32. default "-m32" if ADK_TARGET_ABI_32
  33. default "-mx32" if ADK_TARGET_ABI_X32
  34. default "-m64" if ADK_TARGET_ABI_64