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