Config.in 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. mainmenu "OpenWrt Configuration"
  2. menu "Global build settings"
  3. config ALL_NONSHARED
  4. bool "Select all target specific packages by default"
  5. default ALL
  6. config ALL_KMODS
  7. bool "Select all kernel module packages by default"
  8. default ALL
  9. config ALL
  10. bool "Select all userspace packages by default"
  11. default y
  12. config SIGNED_PACKAGES
  13. bool "Cryptographically sign package lists"
  14. default y
  15. comment "General build options"
  16. config BUILD_PATENTED
  17. default n
  18. bool "Compile with support for patented functionality"
  19. help
  20. When this option is disabled, software which provides patented functionality
  21. will not be built. In case software provides optional support for patented
  22. functionality, this optional support will get disabled for this package.
  23. config BUILD_NLS
  24. default n
  25. bool "Compile with full language support"
  26. help
  27. When this option is enabled, packages are built with the full versions of
  28. iconv and GNU gettext instead of the default OpenWrt stubs.
  29. comment "Package build options"
  30. config DEBUG
  31. bool
  32. prompt "Compile packages with debugging info"
  33. help
  34. Adds -g3 to the CFLAGS.
  35. comment "Stripping options"
  36. choice
  37. prompt "Binary stripping method"
  38. default USE_STRIP if USE_GLIBC
  39. default USE_SSTRIP
  40. help
  41. Select the binary stripping method you wish to use.
  42. config NO_STRIP
  43. bool "none"
  44. help
  45. This will install unstripped binaries (useful for native
  46. compiling/debugging).
  47. config USE_STRIP
  48. bool "strip"
  49. help
  50. This will install binaries stripped using strip from binutils.
  51. config USE_SSTRIP
  52. bool "sstrip"
  53. depends on !USE_GLIBC
  54. help
  55. This will install binaries stripped using sstrip.
  56. endchoice
  57. config STRIP_ARGS
  58. string
  59. prompt "Strip arguments"
  60. depends on USE_STRIP
  61. default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
  62. default "--strip-all"
  63. help
  64. Specifies arguments passed to the strip command when stripping binaries.
  65. endmenu
  66. menu "Advanced configuration options (for developers)"
  67. config BROKEN
  68. bool "Show broken packages"
  69. config DOWNLOAD_FOLDER
  70. string "Download folder"
  71. default ""
  72. help
  73. Store downloaded source bundles in this directory.
  74. If not set then defaults to './dl', which is removed by operations such as
  75. 'git clean -xdf' or 'make distclean'.
  76. This option is useful if you have a low bandwidth Internet connection, and by
  77. setting a path outside the OpenWrt tree downloads will be saved.
  78. config LOCALMIRROR
  79. string "Local mirror for source packages"
  80. default ""
  81. config AUTOREBUILD
  82. bool "Automatic rebuild of packages"
  83. default y
  84. help
  85. Automatically rebuild packages when their files change.
  86. config AUTOREMOVE
  87. bool "Automatic removal of build directories"
  88. default y
  89. help
  90. Automatically delete build directories after make target completed.
  91. This allows you to symlink build_dir into a scratch location, e.g. a ramdisk,
  92. which does not have enough space to keep a complete build_dir.
  93. config CCACHE
  94. bool "Use ccache"
  95. help
  96. Compiler cache; see https://ccache.samba.org/
  97. config CCACHE_DIR
  98. string "Set ccache directory" if CCACHE
  99. default ""
  100. help
  101. Store ccache in this directory.
  102. If not set, uses './.ccache'
  103. config BUILD_LOG
  104. bool "Enable log files during build process"
  105. help
  106. If enabled, log files will be written to the ./log directory.
  107. config SRC_TREE_OVERRIDE
  108. bool "Enable package source tree override"
  109. help
  110. If enabled, you can force a package to use a git tree as source
  111. code instead of the normal tarball. Create a symlink 'git-src'
  112. in the package directory, pointing to the .git tree that you want
  113. to pull the source code from.
  114. endmenu
  115. config IN_SDK
  116. default y
  117. bool
  118. config MODULES
  119. bool
  120. default y
  121. modules
  122. source "Config-build.in"
  123. source "tmp/.config-package.in"