Config.mips 1.6 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. config LIBGCC_CFLAGS
  16. string
  17. choice
  18. prompt "Target ABI"
  19. default CONFIG_MIPS_O32_ABI
  20. help
  21. This is the ABI you wish to build use. Choose either O32, N32
  22. or N64.
  23. config CONFIG_MIPS_O32_ABI
  24. bool "O32 ABI"
  25. config CONFIG_MIPS_N32_ABI
  26. bool "N32 ABI"
  27. config CONFIG_MIPS_N64_ABI
  28. bool "N64 ABI"
  29. endchoice
  30. choice
  31. prompt "Target Processor Architecture"
  32. default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
  33. default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI
  34. default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N64_ABI
  35. help
  36. This selects the instruction set architecture of your MIPS CPU. This
  37. information is used for optimizing purposes. To build a library that
  38. will run on any MIPS CPU, you can specify "Generic (MIPS I)" here.
  39. If you pick anything other than "Generic (MIPS I)," there is no
  40. guarantee that uClibc will even run on anything other than the
  41. selected processor type.
  42. You should probably select the MIPS ISA that best matches the
  43. CPU you will be using on your device. uClibc will be tuned
  44. for that architecture.
  45. If you don't know what to do, choose "Generic (MIPS I)"
  46. config CONFIG_MIPS_ISA_1
  47. bool "Generic (MIPS I)"
  48. config CONFIG_MIPS_ISA_2
  49. bool "MIPS II"
  50. config CONFIG_MIPS_ISA_3
  51. bool "MIPS III"
  52. config CONFIG_MIPS_ISA_4
  53. bool "MIPS IV"
  54. config CONFIG_MIPS_ISA_MIPS32
  55. bool "MIPS32"
  56. config CONFIG_MIPS_ISA_MIPS64
  57. bool "MIPS64"
  58. endchoice