+mainmenu "OpenWrt Configuration"
+
menu "Global build settings"
config ALL_NONSHARED
bool "Cryptographically sign package lists"
default y
+ comment "General build options"
+
+ config BUILD_PATENTED
+ default n
+ bool "Compile with support for patented functionality"
+ help
+ When this option is disabled, software which provides patented functionality
+ will not be built. In case software provides optional support for patented
+ functionality, this optional support will get disabled for this package.
+
+ config BUILD_NLS
+ default n
+ bool "Compile with full language support"
+ help
+ When this option is enabled, packages are built with the full versions of
+ iconv and GNU gettext instead of the default OpenWrt stubs.
+
+ comment "Package build options"
+
+ config DEBUG
+ bool
+ prompt "Compile packages with debugging info"
+ help
+ Adds -g3 to the CFLAGS.
+
+ comment "Stripping options"
+
+ choice
+ prompt "Binary stripping method"
+ default USE_STRIP if USE_GLIBC
+ default USE_SSTRIP
+ help
+ Select the binary stripping method you wish to use.
+
+ config NO_STRIP
+ bool "none"
+ help
+ This will install unstripped binaries (useful for native
+ compiling/debugging).
+
+ config USE_STRIP
+ bool "strip"
+ help
+ This will install binaries stripped using strip from binutils.
+
+ config USE_SSTRIP
+ bool "sstrip"
+ depends on !USE_GLIBC
+ help
+ This will install binaries stripped using sstrip.
+ endchoice
+
+ config STRIP_ARGS
+ string
+ prompt "Strip arguments"
+ depends on USE_STRIP
+ default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
+ default "--strip-all"
+ help
+ Specifies arguments passed to the strip command when stripping binaries.
+
endmenu
menu "Advanced configuration options (for developers)"
config BROKEN
bool "Show broken packages"
- default n
config DOWNLOAD_FOLDER
string "Download folder"
config CCACHE
bool "Use ccache"
- default n
help
Compiler cache; see https://ccache.samba.org/
+ config CCACHE_DIR
+ string "Set ccache directory" if CCACHE
+ default ""
+ help
+ Store ccache in this directory.
+ If not set, uses './.ccache'
+
config BUILD_LOG
bool "Enable log files during build process"
- default n
help
If enabled, log files will be written to the ./log directory.
config SRC_TREE_OVERRIDE
bool "Enable package source tree override"
- default n
help
If enabled, you can force a package to use a git tree as source
code instead of the normal tarball. Create a symlink 'git-src'
config MODULES
bool
default y
- option modules
+ modules
source "Config-build.in"
source "tmp/.config-package.in"