Config.in.sh 984 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. choice
  2. prompt "Target Architecture Variant"
  3. depends on BR2_sh
  4. default BR2_sh4
  5. help
  6. Specific CPU variant to use
  7. config BR2_sh2
  8. bool "sh2 (SH2 big endian)"
  9. config BR2_sh2a
  10. bool "sh2a (SH2A big endian)"
  11. config BR2_sh3
  12. bool "sh3 (SH3 little endian)"
  13. config BR2_sh3eb
  14. bool "sh3eb (SH3 big endian)"
  15. config BR2_sh4
  16. bool "sh4 (SH4 little endian)"
  17. config BR2_sh4eb
  18. bool "sh4eb (SH4 big endian)"
  19. config BR2_sh4a
  20. bool "sh4a (SH4A little endian)"
  21. config BR2_sh4aeb
  22. bool "sh4aeb (SH4A big endian)"
  23. endchoice
  24. config BR2_ARCH
  25. default "sh2" if BR2_sh2
  26. default "sh2a" if BR2_sh2a
  27. default "sh3" if BR2_sh3
  28. default "sh3eb" if BR2_sh3eb
  29. default "sh4" if BR2_sh4
  30. default "sh4eb" if BR2_sh4eb
  31. default "sh4a" if BR2_sh4a
  32. default "sh4aeb" if BR2_sh4aeb
  33. default "sh64" if BR2_sh64
  34. config BR2_ENDIAN
  35. default "LITTLE" if BR2_sh3 || BR2_sh4 || BR2_sh4a || \
  36. BR2_x86_64 || BR2_sh64
  37. default "BIG" if BR2_sh2 || BR2_sh2a || BR2_sh3eb || \
  38. BR2_sh4eb || BR2_sh4aeb