Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. mainmenu "WebAssembly Micro Runtime Configuration"
  2. choice
  3. prompt "select a build target"
  4. config TARGET_X86_64
  5. bool "X86_64"
  6. config TARGET_X86_32
  7. bool "X86_32"
  8. endchoice
  9. choice
  10. prompt "select a target platform"
  11. config PLATFORM_LINUX
  12. bool "Linux"
  13. endchoice
  14. menu "select execution mode"
  15. comment "At least one execution mode must be selected"
  16. config EXEC_AOT
  17. bool "AOT"
  18. depends on PLATFORM_LINUX
  19. config EXEC_JIT
  20. bool "JIT"
  21. depends on PLATFORM_LINUX
  22. select BUILD_LLVM
  23. config BUILD_LLVM
  24. bool "build llvm (this may take a long time)"
  25. depends on EXEC_JIT
  26. help
  27. llvm library is required by JIT mode.
  28. config EXEC_INTERP
  29. bool "INTERPRETER"
  30. default y
  31. endmenu
  32. choice
  33. prompt "libc support"
  34. config LIBC_BUILTIN
  35. bool "builtin libc"
  36. help
  37. use builtin libc, this is a minimal subset of libc.
  38. config LIBC_WASI
  39. bool "WebAssembly System Interface [WASI]"
  40. depends on PLATFORM_LINUX
  41. help
  42. enable WebAssembly System Interface
  43. endchoice
  44. choice
  45. prompt "application framework"
  46. config APP_FRAMEWORK_DISABLE
  47. bool "Disable app framework"
  48. help
  49. Disable wamr app framework
  50. config APP_FRAMEWORK_DEFAULT
  51. bool "Default components"
  52. help
  53. Default components
  54. config APP_FRAMEWORK_ALL
  55. bool "All components"
  56. config APP_FRAMEWORK_CUSTOM
  57. bool "customized module config"
  58. menu "modules:"
  59. depends on APP_FRAMEWORK_CUSTOM
  60. source ".wamr_modules"
  61. endmenu
  62. endchoice