summaryrefslogtreecommitdiff
path: root/release/src/router/config/Config
blob: 5bde7c860014b4e2c9428309f3711051dfff3aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
#
# For a description of the syntax of this configuration file,
# see Kconfig-language.txt
#
# Copyright 2005, Broadcom Corporation
# All Rights Reserved.
# 
# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
#

mainmenu "Router Configuration"

config CONFIG_NAT
       bool "Network Address Translation (NAT) Support"
       default y
       help
       Answer Y to configure this box as a NAT box.

menu "Base Features"

config CONFIG_RC
       bool "Router control (rc)"
       depends on CONFIG_NVRAM && CONFIG_SHARED && CONFIG_BUSYBOX
       default y
       help
       rc is a compact replacement for traditional SysV init. rc
       manages the execution of all daemons. Answer Y unless you have
       configured busybox to provide SysV init functionality.

config CONFIG_NVRAM
       bool "NVRAM support"
       default y
       help
       Answer Y for user mode NVRAM support.

config CONFIG_SHARED
       bool "Shared functions"
       default y
       help
       Answer Y for shared functions required by most of the base
       features.

config CONFIG_LIBBCM
       bool "Broadcom shared library functions"
       default y
       help
       Answer Y for shared functions for accesing Broadcom h/w

config CONFIG_BUSYBOX
       bool "BusyBox"
       default y
       help
       BusyBox combines tiny versions of many common UNIX utilities into
       a single small executable.

config CONFIG_BUSYBOX_CONFIG
       string "BusyBox default configuration"
       depends on CONFIG_BUSYBOX
       default "router"
       help
       Override the default BusyBox configuration. File must exist in busybox/configs.

config CONFIG_WLCONF
       bool "Wireless configuration"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y
       help
       Answer Y for Broadcom wireless configuration support.

config CONFIG_BRIDGE
       bool "Ethernet bridging"
       default y
       help
       Answer Y for the user mode Ethernet bridge configuration utility.

config CONFIG_VLAN
       bool "VLAN configuration"
       depends on CONFIG_NAT
       default y
       help
       Answer Y for the user mode VLAN configuration utility.

config CONFIG_HTTPD
       bool "Web server"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y
       help
       Answer Y for basic web configuration support.

config CONFIG_WWW
       bool "Web pages"
       depends on CONFIG_HTTPD
       help
       Answer Y for additional web pages.

config CONFIG_NETCONF
       bool "Firewall configuration"
       depends on (CONFIG_IPTABLES || CONFIG_LIBIPT) && CONFIG_NAT
       default y
       help
       netconf is a compact, portable replacement for full iptables
       support. It provides enough functionality to configure a basic
       NAT firewall. Answer Y unless you plan on configuring a full
       iptables based firewall setup.

choice
	prompt "Iptables"
    depends on CONFIG_NAT
	default CONFIG_LIBIPT
	optional
	help
	netconf only requires the iptables support library. Answer
	"Library only" unless you want full iptables support. Full
	iptables support requires libdl (see "Additional C libraries").

config CONFIG_IPTABLES
       bool "Full"
       depends on CONFIG_LIBDL

config CONFIG_LIBIPT
       bool "Library only"

endchoice

choice
	prompt "C library"
	default CONFIG_GLIBC

config CONFIG_GLIBC
       bool "GNU libc"

config CONFIG_UCLIBC
       bool "uClibc"

endchoice

config CONFIG_LIBOPT
       bool "Optimize C library"
       depends on CONFIG_GLIBC || CONFIG_UCLIBC
       default y

endmenu

menu "Options"

config CONFIG_VENDOR
       string "Vendor"
       default "broadcom"
       help
       Answer Y for vendor-specific customization.

config CONFIG_UDHCPD
       bool "DHCP client and server"
       default y

config CONFIG_PPP
       bool "PPPoE client"
       depends on CONFIG_NAT
       default y

config CONFIG_UPNP
       bool "UPnP IGD server"
       depends on CONFIG_NETCONF && CONFIG_NVRAM && CONFIG_SHARED && CONFIG_NAT
       default y

config CONFIG_NAS
       bool "802.1X/WPA network authenticator"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y

config CONFIG_SES
       bool "Secure Easy Setup configurator"
       depends on CONFIG_NVRAM && CONFIG_SHARED && CONFIG_LIBBCM
       default y

config CONFIG_EZC
       bool "EZConfig Setup (Phase 1)"
       depends on CONFIG_HTTPD
       default y

config CONFIG_NTP
       bool "NTP client"
       default y

config CONFIG_DNSMASQ
       bool "DNS forwarder"
       depends on CONFIG_NAT
       default y

config CONFIG_UTILS
       bool "Broadcom driver utilities"
       default y

config CONFIG_ETC
       bool "SysV init scripts"
       depends on CONFIG_BUSYBOX
       default n
       help
       SysV init scripts.

config CONFIG_RCS
       string "Default SysV init script"
       depends on CONFIG_ETC
       default "rcS"
       help
       Default initialization script.

config CONFIG_BCMWPA2
       bool "WPA2 Config"
       default y

config CONFIG_WCN
       bool "Windows Connect Now support"
	   depends on CONFIG_NVRAM && CONFIG_SHARED
       default n
       help
       Answer Y to enable support for Windows Connect Now - a method 
	   to configure wireless networks via USB Flash Devices.
	   (Requires CONFIG_WCN and dependents be configured into the kernel.)

endmenu

menu "Additional C libraries"

config CONFIG_LIBCRYPT
       bool "libcrypt"
       default y
       help
       libcrypt is the cryptography library.

config CONFIG_LIBDL
       bool "libdl"
       default n
       help
       libdl is the dynamic linking interface library.

config CONFIG_LIBM
       bool "libm"
       default n
       help
       libm is the mathematical library.

config CONFIG_LIBNSL
       bool "libnsl"
       default n
       help
       libnsl is the network services library.

config CONFIG_LIBPTHREAD
       bool "libpthread"
       default n
       help
       The POSIX threads library.

config CONFIG_LIBRESOLV
       bool "libresolv"
       default n
       help
       Functions in this library provide for creating, sending, and
       interpreting packets to the Internet domain name servers.

config CONFIG_LIBUTIL
       bool "libutil"
       default n
       help
       Contains code for "standard" functions used in many different
       Unix utilities.

endmenu

menu "Environment"

config PLATFORM
       string "Target architecture"
       default "mipsel"
       help
       Specify the target architecture.

config LINUXDIR
       string "Target Linux kernel"
       default "$(SRCBASE)/linux/linux"
       help
       Specify the location of the target Linux kernel directory.

config LIBDIR
       string "Target /lib"
       default "$(TOOLCHAIN)/lib"
       help
       Specify the location of the target /lib directory.

config USRLIBDIR
       string "Target /usr/lib"
       default "$(TOOLCHAIN)/usr/lib"
       help
       Specify the location of the target /usr/lib directory.

endmenu

menu "Internal Options"



endmenu