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