Config.in.csky 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. choice
  2. prompt "Target Architecture Variant"
  3. default BR2_ck610
  4. help
  5. Specific CPU variant to use
  6. config BR2_ck610
  7. bool "ck610"
  8. config BR2_ck807
  9. bool "ck807"
  10. config BR2_ck810
  11. bool "ck810"
  12. endchoice
  13. config BR2_CSKY_FPU
  14. bool "Enable FPU coprocessor"
  15. depends on BR2_ck810 || BR2_ck807
  16. help
  17. You can say N here if your C-SKY CPU doesn't have a
  18. Floating-Point Coprocessor or if you don't need FPU support
  19. for your user-space programs.
  20. config BR2_CSKY_DSP
  21. bool "Enable DSP enhanced instructions"
  22. depends on BR2_ck810 || BR2_ck807
  23. config BR2_ARCH
  24. default "csky"
  25. config BR2_ENDIAN
  26. default "LITTLE"
  27. config BR2_GCC_TARGET_CPU
  28. default "ck610" if (BR2_ck610 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
  29. default "ck807" if (BR2_ck807 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
  30. default "ck807e" if (BR2_ck807 && !BR2_CSKY_FPU && BR2_CSKY_DSP)
  31. default "ck807f" if (BR2_ck807 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
  32. default "ck807ef" if (BR2_ck807 && BR2_CSKY_FPU && BR2_CSKY_DSP)
  33. default "ck810" if (BR2_ck810 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
  34. default "ck810e" if (BR2_ck810 && !BR2_CSKY_FPU && BR2_CSKY_DSP)
  35. default "ck810f" if (BR2_ck810 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
  36. default "ck810ef" if (BR2_ck810 && BR2_CSKY_FPU && BR2_CSKY_DSP)
  37. config BR2_READELF_ARCH_NAME
  38. default "CSKY"