Config.mips 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. config TARGET_ARCH
  6. string
  7. default "mips"
  8. config FORCE_OPTIONS_FOR_ARCH
  9. bool
  10. default y
  11. select ARCH_ANY_ENDIAN
  12. config ARCH_CFLAGS
  13. string
  14. default "-mno-split-addresses"
  15. choice
  16. prompt "Target ABI"
  17. default CONFIG_MIPS_O32_ABI
  18. help
  19. This is the ABI you wish to build use. Choose either O32, N32
  20. or N64.
  21. config CONFIG_MIPS_O32_ABI
  22. bool "O32 ABI"
  23. config CONFIG_MIPS_N32_ABI
  24. bool "N32 ABI"
  25. config CONFIG_MIPS_N64_ABI
  26. bool "N64 ABI"
  27. endchoice
  28. choice
  29. prompt "Target Processor Architecture"
  30. default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
  31. default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI
  32. default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N64_ABI
  33. help
  34. This selects the instruction set architecture of your MIPS CPU. This
  35. information is used for optimizing purposes. To build a library that
  36. will run on any MIPS CPU, you can specify "Generic (MIPS I)" here.
  37. If you pick anything other than "Generic (MIPS I)," there is no
  38. guarantee that uClibc will even run on anything other than the
  39. selected processor type.
  40. You should probably select the MIPS ISA that best matches the
  41. CPU you will be using on your device. uClibc will be tuned
  42. for that architecture.
  43. If you don't know what to do, choose "Generic (MIPS I)"
  44. config CONFIG_MIPS_ISA_1
  45. bool "Generic (MIPS I)"
  46. config CONFIG_MIPS_ISA_2
  47. bool "MIPS II"
  48. config CONFIG_MIPS_ISA_3
  49. bool "MIPS III"
  50. config CONFIG_MIPS_ISA_4
  51. bool "MIPS IV"
  52. config CONFIG_MIPS_ISA_MIPS32
  53. bool "MIPS32"
  54. config CONFIG_MIPS_ISA_MIPS32R2
  55. bool "MIPS32r2"
  56. config CONFIG_MIPS_ISA_MIPS64
  57. bool "MIPS64"
  58. endchoice