Config.in.float 793 B

12345678910111213141516171819202122232425262728293031
  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. choice ADK_TARGET_FLOAT_MODE
  4. prompt "Float configuration"
  5. depends on ADK_TARGET_ARCH_ARM || \
  6. ADK_TARGET_ARCH_M68K || \
  7. ADK_TARGET_ARCH_MIPS || \
  8. ADK_TARGET_ARCH_NIOS2 || \
  9. ADK_TARGET_ARCH_PPC
  10. config ADK_TARGET_HARD_FLOAT
  11. bool "hard-float"
  12. depends on ADK_TARGET_CPU_WITH_FPU
  13. config ADK_TARGET_SOFT_FLOAT
  14. bool "soft-float"
  15. config ADK_TARGET_SOFTFP_FLOAT
  16. bool "softfp"
  17. depends on ADK_TARGET_ARCH_ARM
  18. endchoice
  19. config ADK_TARGET_FLOAT
  20. string
  21. depends on !ADK_TARGET_ARCH_M68K \
  22. && !ADK_TARGET_ARCH_NIOS2
  23. default "hard" if ADK_TARGET_HARD_FLOAT
  24. default "soft" if ADK_TARGET_SOFT_FLOAT
  25. default "softfp" if ADK_TARGET_SOFTFP_FLOAT