2
1

Config.in.mips 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. choice
  2. prompt "Target Architecture Variant"
  3. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  4. default BR2_mips_32 if BR2_mips || BR2_mipsel
  5. default BR2_mips_64 if BR2_mips64 || BR2_mips64el
  6. help
  7. Specific CPU variant to use
  8. 64bit cabable: 3, 4, 64, 64r2
  9. non-64bit capable: 1, 2, 32, 32r2
  10. config BR2_mips_32
  11. bool "mips 32"
  12. depends on !BR2_ARCH_IS_64
  13. config BR2_mips_32r2
  14. bool "mips 32r2"
  15. depends on !BR2_ARCH_IS_64
  16. config BR2_mips_64
  17. bool "mips 64"
  18. depends on BR2_ARCH_IS_64
  19. config BR2_mips_64r2
  20. bool "mips 64r2"
  21. depends on BR2_ARCH_IS_64
  22. endchoice
  23. choice
  24. prompt "Target ABI"
  25. depends on BR2_mips64 || BR2_mips64el
  26. default BR2_MIPS_NABI32
  27. help
  28. Application Binary Interface to use
  29. config BR2_MIPS_NABI32
  30. bool "n32"
  31. depends on BR2_ARCH_IS_64
  32. select BR2_KERNEL_64_USERLAND_32
  33. config BR2_MIPS_NABI64
  34. bool "n64"
  35. depends on BR2_ARCH_IS_64
  36. endchoice
  37. config BR2_MIPS_SOFT_FLOAT
  38. bool "Use soft-float"
  39. default y
  40. select BR2_SOFT_FLOAT
  41. help
  42. If your target CPU does not have a Floating Point Unit (FPU)
  43. or a kernel FPU emulator, but you still wish to support
  44. floating point functions, then everything will need to be
  45. compiled with soft floating point support (-msoft-float).
  46. config BR2_ARCH
  47. default "mips" if BR2_mips
  48. default "mipsel" if BR2_mipsel
  49. default "mips64" if BR2_mips64
  50. default "mips64el" if BR2_mips64el
  51. config BR2_ENDIAN
  52. default "LITTLE" if BR2_mipsel || BR2_mips64el
  53. default "BIG" if BR2_mips || BR2_mips64
  54. config BR2_ARCH_HAS_ATOMICS
  55. default y
  56. config BR2_GCC_TARGET_ARCH
  57. default "mips1" if BR2_mips_1
  58. default "mips2" if BR2_mips_2
  59. default "mips3" if BR2_mips_3
  60. default "mips4" if BR2_mips_4
  61. default "mips32" if BR2_mips_32
  62. default "mips32r2" if BR2_mips_32r2
  63. default "mips64" if BR2_mips_64
  64. default "mips64r2" if BR2_mips_64r2
  65. config BR2_MIPS_OABI32
  66. bool
  67. default y if BR2_mips || BR2_mipsel
  68. config BR2_GCC_TARGET_ABI
  69. default "32" if BR2_MIPS_OABI32
  70. default "n32" if BR2_MIPS_NABI32
  71. default "64" if BR2_MIPS_NABI64