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