Config.in.float 732 B

1234567891011121314151617181920212223242526272829
  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_PPC
  9. config ADK_TARGET_HARD_FLOAT
  10. bool "hard-float"
  11. depends on ADK_TARGET_CPU_WITH_FPU
  12. config ADK_TARGET_SOFT_FLOAT
  13. bool "soft-float"
  14. config ADK_TARGET_SOFTFP_FLOAT
  15. bool "softfp"
  16. depends on ADK_TARGET_ARCH_ARM
  17. endchoice
  18. config ADK_TARGET_FLOAT
  19. string
  20. depends on !ADK_TARGET_ARCH_M68K
  21. default "hard" if ADK_TARGET_HARD_FLOAT
  22. default "soft" if ADK_TARGET_SOFT_FLOAT
  23. default "softfp" if ADK_TARGET_SOFTFP_FLOAT