Kconfig 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. menu "SDK build environment configuration"
  2. config BUILD_BUILDROOT_CROSS_COMPILE
  3. bool "MUST build the corss compiler from buildroot"
  4. default n
  5. choice CROSS_COMPILE_SELECTION
  6. bool "Cross compiler selection"
  7. default WITH_SYSTEM_CROSS_COMPILE
  8. config WITH_SYSTEM_CROSS_COMPILE
  9. bool "Corss compiler in the distro"
  10. config WITH_EXTERNAL_CROSS_COMPILE
  11. bool "External corss compiler"
  12. endchoice
  13. if WITH_SYSTEM_CROSS_COMPILE
  14. config SYSTEM_CROSS_COMPILE
  15. string "The corss compiler prefix"
  16. default "riscv64-linux-gnu-"
  17. endif
  18. if WITH_EXTERNAL_CROSS_COMPILE
  19. config EXTERNAL_CROSS_COMPILE_DIR
  20. string "The external corss compiler directory/path"
  21. default "/usr/bin"
  22. config EXTERNAL_CROSS_COMPILE
  23. string "The external corss compiler prefix"
  24. default "riscv64-linux-gnu-"
  25. endif
  26. config CUSTOMIZE_BUILD_JOBS
  27. bool "customize the number of jobs to run simultaneously in make command"
  28. default n
  29. if CUSTOMIZE_BUILD_JOBS
  30. config BUILD_JOBS_N
  31. int "Specifies the number of jobs (commands) to run simultaneously."
  32. default 4
  33. endif
  34. endmenu