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