Config.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 "Package build options"
  16. config DEBUG
  17. bool
  18. prompt "Compile packages with debugging info"
  19. default n
  20. help
  21. Adds -g3 to the CFLAGS.
  22. comment "Stripping options"
  23. choice
  24. prompt "Binary stripping method"
  25. default USE_STRIP if EXTERNAL_TOOLCHAIN
  26. default USE_STRIP if USE_GLIBC
  27. default USE_SSTRIP
  28. help
  29. Select the binary stripping method you wish to use.
  30. config NO_STRIP
  31. bool "none"
  32. help
  33. This will install unstripped binaries (useful for native
  34. compiling/debugging).
  35. config USE_STRIP
  36. bool "strip"
  37. help
  38. This will install binaries stripped using strip from binutils.
  39. config USE_SSTRIP
  40. bool "sstrip"
  41. depends on !USE_GLIBC
  42. help
  43. This will install binaries stripped using sstrip.
  44. endchoice
  45. config STRIP_ARGS
  46. string
  47. prompt "Strip arguments"
  48. depends on USE_STRIP
  49. default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
  50. default "--strip-all"
  51. help
  52. Specifies arguments passed to the strip command when stripping binaries.
  53. endmenu
  54. menu "Advanced configuration options (for developers)"
  55. config BROKEN
  56. bool "Show broken packages"
  57. default n
  58. config DOWNLOAD_FOLDER
  59. string "Download folder"
  60. default ""
  61. help
  62. Store downloaded source bundles in this directory.
  63. If not set then defaults to './dl', which is removed by operations such as
  64. 'git clean -xdf' or 'make distclean'.
  65. This option is useful if you have a low bandwidth Internet connection, and by
  66. setting a path outside the OpenWrt tree downloads will be saved.
  67. config LOCALMIRROR
  68. string "Local mirror for source packages"
  69. default ""
  70. config AUTOREBUILD
  71. bool "Automatic rebuild of packages"
  72. default y
  73. help
  74. Automatically rebuild packages when their files change.
  75. config AUTOREMOVE
  76. bool "Automatic removal of build directories"
  77. default y
  78. help
  79. Automatically delete build directories after make target completed.
  80. This allows you to symlink build_dir into a scratch location, e.g. a ramdisk,
  81. which does not have enough space to keep a complete build_dir.
  82. config CCACHE
  83. bool "Use ccache"
  84. default n
  85. help
  86. Compiler cache; see https://ccache.samba.org/
  87. config BUILD_LOG
  88. bool "Enable log files during build process"
  89. default n
  90. help
  91. If enabled, log files will be written to the ./log directory.
  92. config SRC_TREE_OVERRIDE
  93. bool "Enable package source tree override"
  94. default n
  95. help
  96. If enabled, you can force a package to use a git tree as source
  97. code instead of the normal tarball. Create a symlink 'git-src'
  98. in the package directory, pointing to the .git tree that you want
  99. to pull the source code from.
  100. endmenu
  101. config IN_SDK
  102. default y
  103. bool
  104. config MODULES
  105. bool
  106. default y
  107. modules
  108. source "Config-build.in"
  109. source "tmp/.config-package.in"