diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
commit | 7d219aab70e6951ab82c27c202cac05016696723 (patch) | |
tree | 4c0679bfa391f71aee9b51505a5d3dc8f60a0cf7 /networking | |
parent | 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (diff) | |
download | busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.gz busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.bz2 busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.zip |
build system overhaul
Diffstat (limited to 'networking')
-rw-r--r-- | networking/Config.in | 326 | ||||
-rw-r--r-- | networking/Kbuild | 38 | ||||
-rw-r--r-- | networking/Makefile | 23 | ||||
-rw-r--r-- | networking/Makefile.in | 70 | ||||
-rw-r--r-- | networking/libiproute/Kbuild | 58 | ||||
-rw-r--r-- | networking/libiproute/Makefile | 36 | ||||
-rw-r--r-- | networking/libiproute/Makefile.in | 83 | ||||
-rw-r--r-- | networking/udhcp/Config.in | 18 | ||||
-rw-r--r-- | networking/udhcp/Kbuild | 17 | ||||
-rw-r--r-- | networking/udhcp/Makefile | 23 | ||||
-rw-r--r-- | networking/udhcp/Makefile.in | 53 |
11 files changed, 285 insertions, 460 deletions
diff --git a/networking/Config.in b/networking/Config.in index b78ae37e7..f9ea56488 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -5,132 +5,132 @@ | |||
5 | 5 | ||
6 | menu "Networking Utilities" | 6 | menu "Networking Utilities" |
7 | 7 | ||
8 | config CONFIG_FEATURE_IPV6 | 8 | config FEATURE_IPV6 |
9 | bool "Enable IPv6 support" | 9 | bool "Enable IPv6 support" |
10 | default n | 10 | default n |
11 | help | 11 | help |
12 | Enable IPv6 support in busybox. | 12 | Enable IPv6 support in busybox. |
13 | This adds IPv6 support in the networking applets. | 13 | This adds IPv6 support in the networking applets. |
14 | 14 | ||
15 | config CONFIG_ARPING | 15 | config ARPING |
16 | bool "arping" | 16 | bool "arping" |
17 | default n | 17 | default n |
18 | help | 18 | help |
19 | Ping hosts by ARP packets | 19 | Ping hosts by ARP packets |
20 | 20 | ||
21 | config CONFIG_DNSD | 21 | config DNSD |
22 | bool "dnsd" | 22 | bool "dnsd" |
23 | default n | 23 | default n |
24 | help | 24 | help |
25 | Small and static DNS server daemon. | 25 | Small and static DNS server daemon. |
26 | 26 | ||
27 | config CONFIG_ETHER_WAKE | 27 | config ETHER_WAKE |
28 | bool "ether-wake" | 28 | bool "ether-wake" |
29 | default n | 29 | default n |
30 | help | 30 | help |
31 | Send a magic packet to wake up sleeping machines. | 31 | Send a magic packet to wake up sleeping machines. |
32 | 32 | ||
33 | config CONFIG_FAKEIDENTD | 33 | config FAKEIDENTD |
34 | bool "fakeidentd" | 34 | bool "fakeidentd" |
35 | default n | 35 | default n |
36 | select CONFIG_FEATURE_SYSLOG | 36 | select FEATURE_SYSLOG |
37 | help | 37 | help |
38 | fakeidentd listens on the ident port and returns a predefined | 38 | fakeidentd listens on the ident port and returns a predefined |
39 | fake value on any query. | 39 | fake value on any query. |
40 | 40 | ||
41 | config CONFIG_FTPGET | 41 | config FTPGET |
42 | bool "ftpget" | 42 | bool "ftpget" |
43 | default n | 43 | default n |
44 | help | 44 | help |
45 | Retrieve a remote file via FTP. | 45 | Retrieve a remote file via FTP. |
46 | 46 | ||
47 | config CONFIG_FTPPUT | 47 | config FTPPUT |
48 | bool "ftpput" | 48 | bool "ftpput" |
49 | default n | 49 | default n |
50 | help | 50 | help |
51 | Store a remote file via FTP. | 51 | Store a remote file via FTP. |
52 | 52 | ||
53 | config CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS | 53 | config FEATURE_FTPGETPUT_LONG_OPTIONS |
54 | bool "Enable long options in ftpget/ftpput" | 54 | bool "Enable long options in ftpget/ftpput" |
55 | default n | 55 | default n |
56 | depends on CONFIG_GETOPT_LONG && (CONFIG_FTPGET || CONFIG_FTPPUT) | 56 | depends on GETOPT_LONG && (CONFIG_FTPGET || FTPPUT) |
57 | help | 57 | help |
58 | Support long options for the ftpget/ftpput applet. | 58 | Support long options for the ftpget/ftpput applet. |
59 | 59 | ||
60 | config CONFIG_HOSTNAME | 60 | config HOSTNAME |
61 | bool "hostname" | 61 | bool "hostname" |
62 | default n | 62 | default n |
63 | help | 63 | help |
64 | Show or set the system's host name | 64 | Show or set the system's host name |
65 | 65 | ||
66 | config CONFIG_HTTPD | 66 | config HTTPD |
67 | bool "httpd" | 67 | bool "httpd" |
68 | default n | 68 | default n |
69 | help | 69 | help |
70 | Serve web pages via an HTTP server. | 70 | Serve web pages via an HTTP server. |
71 | 71 | ||
72 | config CONFIG_FEATURE_HTTPD_WITHOUT_INETD | 72 | config FEATURE_HTTPD_WITHOUT_INETD |
73 | bool "Support using httpd as a daemon (not from inetd)" | 73 | bool "Support using httpd as a daemon (not from inetd)" |
74 | default n | 74 | default n |
75 | depends on CONFIG_HTTPD | 75 | depends on HTTPD |
76 | help | 76 | help |
77 | This option enables uid and port options for the httpd applet, | 77 | This option enables uid and port options for the httpd applet, |
78 | and eliminates the need to be called from the inetd server daemon. | 78 | and eliminates the need to be called from the inetd server daemon. |
79 | 79 | ||
80 | config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP | 80 | config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP |
81 | bool "Support reloading the global config file using hup signal" | 81 | bool "Support reloading the global config file using hup signal" |
82 | default n | 82 | default n |
83 | depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD | 83 | depends on HTTPD && FEATURE_HTTPD_WITHOUT_INETD |
84 | help | 84 | help |
85 | This option enables processing of SIGHUP to reload cached | 85 | This option enables processing of SIGHUP to reload cached |
86 | configuration settings. | 86 | configuration settings. |
87 | 87 | ||
88 | config CONFIG_FEATURE_HTTPD_SETUID | 88 | config FEATURE_HTTPD_SETUID |
89 | bool "Enable support -u <user> option" | 89 | bool "Enable support -u <user> option" |
90 | default n | 90 | default n |
91 | depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD | 91 | depends on HTTPD && FEATURE_HTTPD_WITHOUT_INETD |
92 | help | 92 | help |
93 | This option allows the server to run as a specific user | 93 | This option allows the server to run as a specific user |
94 | rather than defaulting to the user that starts the server. | 94 | rather than defaulting to the user that starts the server. |
95 | Use of this option requires special privileges to change to a | 95 | Use of this option requires special privileges to change to a |
96 | different user. | 96 | different user. |
97 | 97 | ||
98 | config CONFIG_FEATURE_HTTPD_BASIC_AUTH | 98 | config FEATURE_HTTPD_BASIC_AUTH |
99 | bool "Enable Basic http Authentication" | 99 | bool "Enable Basic http Authentication" |
100 | default y | 100 | default y |
101 | depends on CONFIG_HTTPD | 101 | depends on HTTPD |
102 | help | 102 | help |
103 | Utilizes password settings from /etc/httpd.conf for basic | 103 | Utilizes password settings from /etc/httpd.conf for basic |
104 | authentication on a per url basis. | 104 | authentication on a per url basis. |
105 | 105 | ||
106 | config CONFIG_FEATURE_HTTPD_AUTH_MD5 | 106 | config FEATURE_HTTPD_AUTH_MD5 |
107 | bool "Support MD5 crypted passwords for http Authentication" | 107 | bool "Support MD5 crypted passwords for http Authentication" |
108 | default n | 108 | default n |
109 | depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH | 109 | depends on FEATURE_HTTPD_BASIC_AUTH |
110 | help | 110 | help |
111 | Enables basic per URL authentication from /etc/httpd.conf | 111 | Enables basic per URL authentication from /etc/httpd.conf |
112 | using md5 passwords. | 112 | using md5 passwords. |
113 | 113 | ||
114 | config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES | 114 | config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES |
115 | bool "Support loading additional MIME types at run-time" | 115 | bool "Support loading additional MIME types at run-time" |
116 | default n | 116 | default n |
117 | depends on CONFIG_HTTPD | 117 | depends on HTTPD |
118 | help | 118 | help |
119 | This option enables support for additional MIME types at | 119 | This option enables support for additional MIME types at |
120 | run-time to be specified in the configuration file. | 120 | run-time to be specified in the configuration file. |
121 | 121 | ||
122 | config CONFIG_FEATURE_HTTPD_CGI | 122 | config FEATURE_HTTPD_CGI |
123 | bool "Support Common Gateway Interface (CGI)" | 123 | bool "Support Common Gateway Interface (CGI)" |
124 | default y | 124 | default y |
125 | depends on CONFIG_HTTPD | 125 | depends on HTTPD |
126 | help | 126 | help |
127 | This option allows scripts and executables to be invoked | 127 | This option allows scripts and executables to be invoked |
128 | when specific URLs are requested. | 128 | when specific URLs are requested. |
129 | 129 | ||
130 | config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR | 130 | config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
131 | bool "Enable support for running scripts through an interpreter" | 131 | bool "Enable support for running scripts through an interpreter" |
132 | default n | 132 | default n |
133 | depends on CONFIG_FEATURE_HTTPD_CGI | 133 | depends on FEATURE_HTTPD_CGI |
134 | help | 134 | help |
135 | This option enables support for running scripts through an | 135 | This option enables support for running scripts through an |
136 | interpreter. Turn this on if you want PHP scripts to work | 136 | interpreter. Turn this on if you want PHP scripts to work |
@@ -138,81 +138,81 @@ config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR | |||
138 | config file: | 138 | config file: |
139 | *.php:/path/to/your/php | 139 | *.php:/path/to/your/php |
140 | 140 | ||
141 | config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV | 141 | config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
142 | bool "Support the REMOTE_PORT environment variable for CGI" | 142 | bool "Support the REMOTE_PORT environment variable for CGI" |
143 | default n | 143 | default n |
144 | depends on CONFIG_FEATURE_HTTPD_CGI | 144 | depends on FEATURE_HTTPD_CGI |
145 | help | 145 | help |
146 | Use of this option can assist scripts in generating | 146 | Use of this option can assist scripts in generating |
147 | references that contain a unique port number. | 147 | references that contain a unique port number. |
148 | 148 | ||
149 | config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR | 149 | config FEATURE_HTTPD_ENCODE_URL_STR |
150 | bool "Enable the -e option for shell script CGI simplification." | 150 | bool "Enable the -e option for shell script CGI simplification." |
151 | default y | 151 | default y |
152 | depends on CONFIG_HTTPD | 152 | depends on HTTPD |
153 | help | 153 | help |
154 | This option allows html encoding arbitrary | 154 | This option allows html encoding arbitrary |
155 | strings for display of the browser. Output goes to stdout. | 155 | strings for display of the browser. Output goes to stdout. |
156 | For example, httpd -e "<Hello World>" as | 156 | For example, httpd -e "<Hello World>" as |
157 | "<Hello World>". | 157 | "<Hello World>". |
158 | 158 | ||
159 | config CONFIG_IFCONFIG | 159 | config IFCONFIG |
160 | bool "ifconfig" | 160 | bool "ifconfig" |
161 | default n | 161 | default n |
162 | help | 162 | help |
163 | Ifconfig is used to configure the kernel-resident network interfaces. | 163 | Ifconfig is used to configure the kernel-resident network interfaces. |
164 | 164 | ||
165 | config CONFIG_FEATURE_IFCONFIG_STATUS | 165 | config FEATURE_IFCONFIG_STATUS |
166 | bool "Enable status reporting output (+7k)" | 166 | bool "Enable status reporting output (+7k)" |
167 | default y | 167 | default y |
168 | depends on CONFIG_IFCONFIG | 168 | depends on IFCONFIG |
169 | help | 169 | help |
170 | If ifconfig is called with no arguments it will display the status | 170 | If ifconfig is called with no arguments it will display the status |
171 | of the currently active interfaces. | 171 | of the currently active interfaces. |
172 | 172 | ||
173 | config CONFIG_FEATURE_IFCONFIG_SLIP | 173 | config FEATURE_IFCONFIG_SLIP |
174 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" | 174 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" |
175 | default n | 175 | default n |
176 | depends on CONFIG_IFCONFIG | 176 | depends on IFCONFIG |
177 | help | 177 | help |
178 | Allow "keepalive" and "outfill" support for SLIP. If you're not | 178 | Allow "keepalive" and "outfill" support for SLIP. If you're not |
179 | planning on using serial lines, leave this unchecked. | 179 | planning on using serial lines, leave this unchecked. |
180 | 180 | ||
181 | config CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ | 181 | config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
182 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" | 182 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" |
183 | default n | 183 | default n |
184 | depends on CONFIG_IFCONFIG | 184 | depends on IFCONFIG |
185 | help | 185 | help |
186 | Allow the start address for shared memory, start address for I/O, | 186 | Allow the start address for shared memory, start address for I/O, |
187 | and/or the interrupt line used by the specified device. | 187 | and/or the interrupt line used by the specified device. |
188 | 188 | ||
189 | config CONFIG_FEATURE_IFCONFIG_HW | 189 | config FEATURE_IFCONFIG_HW |
190 | bool "Enable option \"hw\" (ether only)" | 190 | bool "Enable option \"hw\" (ether only)" |
191 | default y | 191 | default y |
192 | depends on CONFIG_IFCONFIG | 192 | depends on IFCONFIG |
193 | help | 193 | help |
194 | Set the hardware address of this interface, if the device driver | 194 | Set the hardware address of this interface, if the device driver |
195 | supports this operation. Currently, we only support the 'ether' | 195 | supports this operation. Currently, we only support the 'ether' |
196 | class. | 196 | class. |
197 | 197 | ||
198 | config CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS | 198 | config FEATURE_IFCONFIG_BROADCAST_PLUS |
199 | bool "Set the broadcast automatically" | 199 | bool "Set the broadcast automatically" |
200 | default n | 200 | default n |
201 | depends on CONFIG_IFCONFIG | 201 | depends on IFCONFIG |
202 | help | 202 | help |
203 | Setting this will make ifconfig attempt to find the broadcast | 203 | Setting this will make ifconfig attempt to find the broadcast |
204 | automatically if the value '+' is used. | 204 | automatically if the value '+' is used. |
205 | 205 | ||
206 | config CONFIG_IFUPDOWN | 206 | config IFUPDOWN |
207 | bool "ifupdown" | 207 | bool "ifupdown" |
208 | default n | 208 | default n |
209 | select CONFIG_RUN_PARTS | 209 | select RUN_PARTS |
210 | help | 210 | help |
211 | Activate or deactivate the specified interfaces. This applet makes | 211 | Activate or deactivate the specified interfaces. This applet makes |
212 | use of either "ifconfig" and "route" or the "ip" command to actually | 212 | use of either "ifconfig" and "route" or the "ip" command to actually |
213 | configure network interfaces. Therefore, you will probably also want | 213 | configure network interfaces. Therefore, you will probably also want |
214 | to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable | 214 | to enable either IFCONFIG and ROUTE, or enable |
215 | CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options. Of | 215 | FEATURE_IFUPDOWN_IP and the various IP options. Of |
216 | course you could use non-busybox versions of these programs, so | 216 | course you could use non-busybox versions of these programs, so |
217 | against my better judgement (since this will surely result in plenty | 217 | against my better judgement (since this will surely result in plenty |
218 | of support questions on the mailing list), I do not force you to | 218 | of support questions on the mailing list), I do not force you to |
@@ -220,34 +220,34 @@ config CONFIG_IFUPDOWN | |||
220 | "ifconfig" and "route" or the "ip" command, either via busybox or via | 220 | "ifconfig" and "route" or the "ip" command, either via busybox or via |
221 | standalone utilities. | 221 | standalone utilities. |
222 | 222 | ||
223 | config CONFIG_FEATURE_IFUPDOWN_IP | 223 | config FEATURE_IFUPDOWN_IP |
224 | bool "Use ip applet" | 224 | bool "Use ip applet" |
225 | default n | 225 | default n |
226 | depends on CONFIG_IFUPDOWN | 226 | depends on IFUPDOWN |
227 | help | 227 | help |
228 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather | 228 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather |
229 | than the default of using the older 'ifconfig' and 'route' utilities. | 229 | than the default of using the older 'ifconfig' and 'route' utilities. |
230 | 230 | ||
231 | config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN | 231 | config FEATURE_IFUPDOWN_IP_BUILTIN |
232 | bool "Use busybox ip applet" | 232 | bool "Use busybox ip applet" |
233 | default y | 233 | default y |
234 | depends on CONFIG_FEATURE_IFUPDOWN_IP | 234 | depends on FEATURE_IFUPDOWN_IP |
235 | select CONFIG_IP | 235 | select IP |
236 | select CONFIG_FEATURE_IP_ADDRESS | 236 | select FEATURE_IP_ADDRESS |
237 | select CONFIG_FEATURE_IP_LINK | 237 | select FEATURE_IP_LINK |
238 | select CONFIG_FEATURE_IP_ROUTE | 238 | select FEATURE_IP_ROUTE |
239 | help | 239 | help |
240 | Use the busybox iproute "ip" applet to implement "ifupdown". | 240 | Use the busybox iproute "ip" applet to implement "ifupdown". |
241 | 241 | ||
242 | If leave this disabled, you must install the full-blown iproute2 | 242 | If leave this disabled, you must install the full-blown iproute2 |
243 | utility or the "ifup" and "ifdown" applets will not work. | 243 | utility or the "ifup" and "ifdown" applets will not work. |
244 | 244 | ||
245 | config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN | 245 | config FEATURE_IFUPDOWN_IP_BUILTIN |
246 | bool "Use busybox ifconfig and route applets" | 246 | bool "Use busybox ifconfig and route applets" |
247 | default y | 247 | default y |
248 | depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP | 248 | depends on IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP |
249 | select CONFIG_IFCONFIG | 249 | select IFCONFIG |
250 | select CONFIG_ROUTE | 250 | select ROUTE |
251 | help | 251 | help |
252 | Use the busybox iproute "ifconfig" and "route" applets to | 252 | Use the busybox iproute "ifconfig" and "route" applets to |
253 | implement the "ifup" and "ifdown" utilities. | 253 | implement the "ifup" and "ifdown" utilities. |
@@ -256,87 +256,87 @@ config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN | |||
256 | and route utilities, or the "ifup" and "ifdown" applets will not | 256 | and route utilities, or the "ifup" and "ifdown" applets will not |
257 | work. | 257 | work. |
258 | 258 | ||
259 | config CONFIG_FEATURE_IFUPDOWN_IPV4 | 259 | config FEATURE_IFUPDOWN_IPV4 |
260 | bool "Enable support for IPv4" | 260 | bool "Enable support for IPv4" |
261 | default y | 261 | default y |
262 | depends on CONFIG_IFUPDOWN | 262 | depends on IFUPDOWN |
263 | help | 263 | help |
264 | If you want busybox to talk IPv4, leave this on. | 264 | If you want busybox to talk IPv4, leave this on. |
265 | 265 | ||
266 | config CONFIG_FEATURE_IFUPDOWN_IPV6 | 266 | config FEATURE_IFUPDOWN_IPV6 |
267 | bool "Enable support for IPv6" | 267 | bool "Enable support for IPv6" |
268 | default n | 268 | default n |
269 | depends on CONFIG_IFUPDOWN && CONFIG_FEATURE_IPV6 | 269 | depends on IFUPDOWN && FEATURE_IPV6 |
270 | help | 270 | help |
271 | If you need support for IPv6, turn this option on. | 271 | If you need support for IPv6, turn this option on. |
272 | 272 | ||
273 | config CONFIG_FEATURE_IFUPDOWN_IPX | 273 | config FEATURE_IFUPDOWN_IPX |
274 | bool "Enable support for IPX" | 274 | bool "Enable support for IPX" |
275 | default n | 275 | default n |
276 | depends on CONFIG_IFUPDOWN | 276 | depends on IFUPDOWN |
277 | help | 277 | help |
278 | If this option is selected you can use busybox to work with IPX | 278 | If this option is selected you can use busybox to work with IPX |
279 | networks. | 279 | networks. |
280 | 280 | ||
281 | config CONFIG_FEATURE_IFUPDOWN_MAPPING | 281 | config FEATURE_IFUPDOWN_MAPPING |
282 | bool "Enable mapping support" | 282 | bool "Enable mapping support" |
283 | default n | 283 | default n |
284 | depends on CONFIG_IFUPDOWN | 284 | depends on IFUPDOWN |
285 | help | 285 | help |
286 | This enables support for the "mapping" stanza, unless you have | 286 | This enables support for the "mapping" stanza, unless you have |
287 | a weird network setup you don't need it. | 287 | a weird network setup you don't need it. |
288 | 288 | ||
289 | config CONFIG_INETD | 289 | config INETD |
290 | bool "inetd" | 290 | bool "inetd" |
291 | default n | 291 | default n |
292 | select CONFIG_FEATURE_SYSLOG | 292 | select FEATURE_SYSLOG |
293 | help | 293 | help |
294 | Internet superserver daemon | 294 | Internet superserver daemon |
295 | 295 | ||
296 | config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO | 296 | config FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
297 | bool "Support echo service" | 297 | bool "Support echo service" |
298 | default y | 298 | default y |
299 | depends on CONFIG_INETD | 299 | depends on INETD |
300 | help | 300 | help |
301 | Echo received data internal inetd service | 301 | Echo received data internal inetd service |
302 | 302 | ||
303 | config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD | 303 | config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
304 | bool "Support discard service" | 304 | bool "Support discard service" |
305 | default y | 305 | default y |
306 | depends on CONFIG_INETD | 306 | depends on INETD |
307 | help | 307 | help |
308 | Internet /dev/null internal inetd service | 308 | Internet /dev/null internal inetd service |
309 | 309 | ||
310 | config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME | 310 | config FEATURE_INETD_SUPPORT_BUILTIN_TIME |
311 | bool "Support time service" | 311 | bool "Support time service" |
312 | default y | 312 | default y |
313 | depends on CONFIG_INETD | 313 | depends on INETD |
314 | help | 314 | help |
315 | Return 32 bit time since 1900 internal inetd service | 315 | Return 32 bit time since 1900 internal inetd service |
316 | 316 | ||
317 | config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME | 317 | config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
318 | bool "Support daytime service" | 318 | bool "Support daytime service" |
319 | default y | 319 | default y |
320 | depends on CONFIG_INETD | 320 | depends on INETD |
321 | help | 321 | help |
322 | Return human-readable time internal inetd service | 322 | Return human-readable time internal inetd service |
323 | 323 | ||
324 | config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN | 324 | config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
325 | bool "Support chargen service" | 325 | bool "Support chargen service" |
326 | default y | 326 | default y |
327 | depends on CONFIG_INETD | 327 | depends on INETD |
328 | help | 328 | help |
329 | Familiar character generator internal inetd service | 329 | Familiar character generator internal inetd service |
330 | 330 | ||
331 | config CONFIG_FEATURE_INETD_RPC | 331 | config FEATURE_INETD_RPC |
332 | bool "Support RPC services" | 332 | bool "Support RPC services" |
333 | default n | 333 | default n |
334 | depends on CONFIG_INETD | 334 | depends on INETD |
335 | help | 335 | help |
336 | Suuport Sun-RPC based services | 336 | Suuport Sun-RPC based services |
337 | 337 | ||
338 | 338 | ||
339 | config CONFIG_IP | 339 | config IP |
340 | bool "ip" | 340 | bool "ip" |
341 | default n | 341 | default n |
342 | help | 342 | help |
@@ -344,38 +344,38 @@ config CONFIG_IP | |||
344 | utility. You generally don't need "ip" to use busybox with | 344 | utility. You generally don't need "ip" to use busybox with |
345 | TCP/IP. | 345 | TCP/IP. |
346 | 346 | ||
347 | config CONFIG_FEATURE_IP_ADDRESS | 347 | config FEATURE_IP_ADDRESS |
348 | bool "ip address" | 348 | bool "ip address" |
349 | default y | 349 | default y |
350 | depends on CONFIG_IP | 350 | depends on IP |
351 | help | 351 | help |
352 | Address manipulation support for the "ip" applet. | 352 | Address manipulation support for the "ip" applet. |
353 | 353 | ||
354 | config CONFIG_FEATURE_IP_LINK | 354 | config FEATURE_IP_LINK |
355 | bool "ip link" | 355 | bool "ip link" |
356 | default y | 356 | default y |
357 | depends on CONFIG_IP | 357 | depends on IP |
358 | help | 358 | help |
359 | Configure network devices with "ip". | 359 | Configure network devices with "ip". |
360 | 360 | ||
361 | config CONFIG_FEATURE_IP_ROUTE | 361 | config FEATURE_IP_ROUTE |
362 | bool "ip route" | 362 | bool "ip route" |
363 | default y | 363 | default y |
364 | depends on CONFIG_IP | 364 | depends on IP |
365 | help | 365 | help |
366 | Add support for routing table management to "ip". | 366 | Add support for routing table management to "ip". |
367 | 367 | ||
368 | config CONFIG_FEATURE_IP_TUNNEL | 368 | config FEATURE_IP_TUNNEL |
369 | bool "ip tunnel" | 369 | bool "ip tunnel" |
370 | default n | 370 | default n |
371 | depends on CONFIG_IP | 371 | depends on IP |
372 | help | 372 | help |
373 | Add support for tunneling commands to "ip". | 373 | Add support for tunneling commands to "ip". |
374 | 374 | ||
375 | config CONFIG_FEATURE_IP_SHORT_FORMS | 375 | config FEATURE_IP_SHORT_FORMS |
376 | bool "Support short forms of ip commands." | 376 | bool "Support short forms of ip commands." |
377 | default n | 377 | default n |
378 | depends on CONFIG_IP | 378 | depends on IP |
379 | help | 379 | help |
380 | Also support short-form of ip <OBJECT> commands: | 380 | Also support short-form of ip <OBJECT> commands: |
381 | ip addr -> ipaddr | 381 | ip addr -> ipaddr |
@@ -386,51 +386,51 @@ config CONFIG_FEATURE_IP_SHORT_FORMS | |||
386 | Say N unless you desparately need the short form of the ip | 386 | Say N unless you desparately need the short form of the ip |
387 | object commands. | 387 | object commands. |
388 | 388 | ||
389 | config CONFIG_IPADDR | 389 | config IPADDR |
390 | bool | 390 | bool |
391 | default y | 391 | default y |
392 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS | 392 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS |
393 | 393 | ||
394 | config CONFIG_IPLINK | 394 | config IPLINK |
395 | bool | 395 | bool |
396 | default y | 396 | default y |
397 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK | 397 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK |
398 | 398 | ||
399 | config CONFIG_IPROUTE | 399 | config IPROUTE |
400 | bool | 400 | bool |
401 | default y | 401 | default y |
402 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE | 402 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE |
403 | 403 | ||
404 | config CONFIG_IPTUNNEL | 404 | config IPTUNNEL |
405 | bool | 405 | bool |
406 | default y | 406 | default y |
407 | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL | 407 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL |
408 | 408 | ||
409 | config CONFIG_IPCALC | 409 | config IPCALC |
410 | bool "ipcalc" | 410 | bool "ipcalc" |
411 | default n | 411 | default n |
412 | help | 412 | help |
413 | ipcalc takes an IP address and netmask and calculates the | 413 | ipcalc takes an IP address and netmask and calculates the |
414 | resulting broadcast, network, and host range. | 414 | resulting broadcast, network, and host range. |
415 | 415 | ||
416 | config CONFIG_FEATURE_IPCALC_FANCY | 416 | config FEATURE_IPCALC_FANCY |
417 | bool "Fancy IPCALC, more options, adds 1 kbyte" | 417 | bool "Fancy IPCALC, more options, adds 1 kbyte" |
418 | default y | 418 | default y |
419 | depends on CONFIG_IPCALC | 419 | depends on IPCALC |
420 | help | 420 | help |
421 | Adds the options hostname, prefix and silent to the output of "ipcalc". | 421 | Adds the options hostname, prefix and silent to the output of "ipcalc". |
422 | 422 | ||
423 | config CONFIG_FEATURE_IPCALC_LONG_OPTIONS | 423 | config FEATURE_IPCALC_LONG_OPTIONS |
424 | bool "Enable long options" | 424 | bool "Enable long options" |
425 | default n | 425 | default n |
426 | depends on CONFIG_IPCALC && CONFIG_GETOPT_LONG | 426 | depends on IPCALC && GETOPT_LONG |
427 | help | 427 | help |
428 | Support long options for the ipcalc applet. | 428 | Support long options for the ipcalc applet. |
429 | 429 | ||
430 | config CONFIG_NAMEIF | 430 | config NAMEIF |
431 | bool "nameif" | 431 | bool "nameif" |
432 | default n | 432 | default n |
433 | select CONFIG_FEATURE_SYSLOG | 433 | select FEATURE_SYSLOG |
434 | help | 434 | help |
435 | nameif is used to rename network interface by its MAC address. | 435 | nameif is used to rename network interface by its MAC address. |
436 | Renamed interfaces MUST be in the down state. | 436 | Renamed interfaces MUST be in the down state. |
@@ -442,107 +442,107 @@ config CONFIG_NAMEIF | |||
442 | # Comment | 442 | # Comment |
443 | new_interface_name XX:XX:XX:XX:XX:XX | 443 | new_interface_name XX:XX:XX:XX:XX:XX |
444 | 444 | ||
445 | config CONFIG_NC | 445 | config NC |
446 | bool "nc" | 446 | bool "nc" |
447 | default n | 447 | default n |
448 | help | 448 | help |
449 | A simple Unix utility which reads and writes data across network | 449 | A simple Unix utility which reads and writes data across network |
450 | connections. | 450 | connections. |
451 | 451 | ||
452 | config CONFIG_NC_SERVER | 452 | config NC_SERVER |
453 | bool "Netcat server options (-lp)" | 453 | bool "Netcat server options (-lp)" |
454 | default n | 454 | default n |
455 | depends on CONFIG_NC | 455 | depends on NC |
456 | help | 456 | help |
457 | Allow netcat to act as a server. | 457 | Allow netcat to act as a server. |
458 | 458 | ||
459 | config CONFIG_NC_EXTRA | 459 | config NC_EXTRA |
460 | bool "Netcat extensions (-eiw and filename)" | 460 | bool "Netcat extensions (-eiw and filename)" |
461 | default n | 461 | default n |
462 | depends on CONFIG_NC | 462 | depends on NC |
463 | help | 463 | help |
464 | Add -e (support for executing the rest of the command line after | 464 | Add -e (support for executing the rest of the command line after |
465 | making or receiving a successful connection), -i (delay interval for | 465 | making or receiving a successful connection), -i (delay interval for |
466 | lines sent), -w (timeout for initial connection). | 466 | lines sent), -w (timeout for initial connection). |
467 | 467 | ||
468 | config CONFIG_NETSTAT | 468 | config NETSTAT |
469 | bool "netstat" | 469 | bool "netstat" |
470 | default n | 470 | default n |
471 | help | 471 | help |
472 | netstat prints information about the Linux networking subsystem. | 472 | netstat prints information about the Linux networking subsystem. |
473 | 473 | ||
474 | config CONFIG_NSLOOKUP | 474 | config NSLOOKUP |
475 | bool "nslookup" | 475 | bool "nslookup" |
476 | default n | 476 | default n |
477 | help | 477 | help |
478 | nslookup is a tool to query Internet name servers. | 478 | nslookup is a tool to query Internet name servers. |
479 | 479 | ||
480 | config CONFIG_PING | 480 | config PING |
481 | bool "ping" | 481 | bool "ping" |
482 | default n | 482 | default n |
483 | help | 483 | help |
484 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | 484 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
485 | elicit an ICMP ECHO_RESPONSE from a host or gateway. | 485 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
486 | 486 | ||
487 | config CONFIG_FEATURE_FANCY_PING | 487 | config FEATURE_FANCY_PING |
488 | bool "Enable fancy ping output" | 488 | bool "Enable fancy ping output" |
489 | default y | 489 | default y |
490 | depends on CONFIG_PING | 490 | depends on PING |
491 | help | 491 | help |
492 | Make the output from the ping applet include statistics, and at the | 492 | Make the output from the ping applet include statistics, and at the |
493 | same time provide full support for ICMP packets. | 493 | same time provide full support for ICMP packets. |
494 | 494 | ||
495 | config CONFIG_PING6 | 495 | config PING6 |
496 | bool "ping6" | 496 | bool "ping6" |
497 | default n | 497 | default n |
498 | depends on CONFIG_FEATURE_IPV6 | 498 | depends on FEATURE_IPV6 |
499 | help | 499 | help |
500 | This will give you a ping that can talk IPv6. | 500 | This will give you a ping that can talk IPv6. |
501 | 501 | ||
502 | config CONFIG_FEATURE_FANCY_PING6 | 502 | config FEATURE_FANCY_PING6 |
503 | bool "Enable fancy ping6 output" | 503 | bool "Enable fancy ping6 output" |
504 | default y | 504 | default y |
505 | depends on CONFIG_PING6 | 505 | depends on PING6 |
506 | help | 506 | help |
507 | Make the output from the ping6 applet include statistics, and at the | 507 | Make the output from the ping6 applet include statistics, and at the |
508 | same time provide full support for ICMP packets. | 508 | same time provide full support for ICMP packets. |
509 | 509 | ||
510 | config CONFIG_ROUTE | 510 | config ROUTE |
511 | bool "route" | 511 | bool "route" |
512 | default n | 512 | default n |
513 | help | 513 | help |
514 | Route displays or manipulates the kernel's IP routing tables. | 514 | Route displays or manipulates the kernel's IP routing tables. |
515 | 515 | ||
516 | config CONFIG_TELNET | 516 | config TELNET |
517 | bool "telnet" | 517 | bool "telnet" |
518 | default n | 518 | default n |
519 | help | 519 | help |
520 | Telnet is an interface to the TELNET protocol, but is also commonly | 520 | Telnet is an interface to the TELNET protocol, but is also commonly |
521 | used to test other simple protocols. | 521 | used to test other simple protocols. |
522 | 522 | ||
523 | config CONFIG_FEATURE_TELNET_TTYPE | 523 | config FEATURE_TELNET_TTYPE |
524 | bool "Pass TERM type to remote host" | 524 | bool "Pass TERM type to remote host" |
525 | default y | 525 | default y |
526 | depends on CONFIG_TELNET | 526 | depends on TELNET |
527 | help | 527 | help |
528 | Setting this option will forward the TERM environment variable to the | 528 | Setting this option will forward the TERM environment variable to the |
529 | remote host you are connecting to. This is useful to make sure that | 529 | remote host you are connecting to. This is useful to make sure that |
530 | things like ANSI colors and other control sequences behave. | 530 | things like ANSI colors and other control sequences behave. |
531 | 531 | ||
532 | config CONFIG_FEATURE_TELNET_AUTOLOGIN | 532 | config FEATURE_TELNET_AUTOLOGIN |
533 | bool "Pass USER type to remote host" | 533 | bool "Pass USER type to remote host" |
534 | default y | 534 | default y |
535 | depends on CONFIG_TELNET | 535 | depends on TELNET |
536 | help | 536 | help |
537 | Setting this option will forward the USER environment variable to the | 537 | Setting this option will forward the USER environment variable to the |
538 | remote host you are connecting to. This is useful when you need to | 538 | remote host you are connecting to. This is useful when you need to |
539 | log into a machine without telling the username (autologin). This | 539 | log into a machine without telling the username (autologin). This |
540 | option enables `-a' and `-l USER' arguments. | 540 | option enables `-a' and `-l USER' arguments. |
541 | 541 | ||
542 | config CONFIG_TELNETD | 542 | config TELNETD |
543 | bool "telnetd" | 543 | bool "telnetd" |
544 | default n | 544 | default n |
545 | select CONFIG_FEATURE_SYSLOG | 545 | select FEATURE_SYSLOG |
546 | help | 546 | help |
547 | A daemon for the TELNET protocol, allowing you to log onto the host | 547 | A daemon for the TELNET protocol, allowing you to log onto the host |
548 | running the daemon. Please keep in mind that the TELNET protocol | 548 | running the daemon. Please keep in mind that the TELNET protocol |
@@ -554,8 +554,8 @@ config CONFIG_TELNETD | |||
554 | 554 | ||
555 | Note that for busybox telnetd to work you need several things: | 555 | Note that for busybox telnetd to work you need several things: |
556 | First of all, your kernel needs: | 556 | First of all, your kernel needs: |
557 | CONFIG_UNIX98_PTYS=y | 557 | UNIX98_PTYS=y |
558 | CONFIG_DEVPTS_FS=y | 558 | DEVPTS_FS=y |
559 | 559 | ||
560 | Next, you need a /dev/pts directory on your root filesystem: | 560 | Next, you need a /dev/pts directory on your root filesystem: |
561 | 561 | ||
@@ -572,8 +572,8 @@ config CONFIG_TELNETD | |||
572 | 572 | ||
573 | mount -t devpts devpts /dev/pts | 573 | mount -t devpts devpts /dev/pts |
574 | 574 | ||
575 | You need to be sure that Busybox has CONFIG_LOGIN and | 575 | You need to be sure that Busybox has LOGIN and |
576 | CONFIG_FEATURE_SUID enabled. And finally, you should make | 576 | FEATURE_SUID enabled. And finally, you should make |
577 | certain that Busybox has been installed setuid root: | 577 | certain that Busybox has been installed setuid root: |
578 | 578 | ||
579 | chown root.root /bin/busybox | 579 | chown root.root /bin/busybox |
@@ -582,15 +582,15 @@ config CONFIG_TELNETD | |||
582 | with all that done, telnetd _should_ work.... | 582 | with all that done, telnetd _should_ work.... |
583 | 583 | ||
584 | 584 | ||
585 | config CONFIG_FEATURE_TELNETD_INETD | 585 | config FEATURE_TELNETD_INETD |
586 | bool "Support call from inetd only" | 586 | bool "Support call from inetd only" |
587 | default n | 587 | default n |
588 | depends on CONFIG_TELNETD | 588 | depends on TELNETD |
589 | help | 589 | help |
590 | Selecting this will make telnetd only callable from inetd, | 590 | Selecting this will make telnetd only callable from inetd, |
591 | removing the standalone support. | 591 | removing the standalone support. |
592 | 592 | ||
593 | config CONFIG_TFTP | 593 | config TFTP |
594 | bool "tftp" | 594 | bool "tftp" |
595 | default n | 595 | default n |
596 | help | 596 | help |
@@ -598,114 +598,114 @@ config CONFIG_TFTP | |||
598 | is usually used for simple, small transfers such as a root image | 598 | is usually used for simple, small transfers such as a root image |
599 | for a network-enabled bootloader. | 599 | for a network-enabled bootloader. |
600 | 600 | ||
601 | config CONFIG_FEATURE_TFTP_GET | 601 | config FEATURE_TFTP_GET |
602 | bool "Enable \"get\" command" | 602 | bool "Enable \"get\" command" |
603 | default y | 603 | default y |
604 | depends on CONFIG_TFTP | 604 | depends on TFTP |
605 | help | 605 | help |
606 | Add support for the GET command within the TFTP client. This allows | 606 | Add support for the GET command within the TFTP client. This allows |
607 | a client to retrieve a file from a TFTP server. | 607 | a client to retrieve a file from a TFTP server. |
608 | 608 | ||
609 | config CONFIG_FEATURE_TFTP_PUT | 609 | config FEATURE_TFTP_PUT |
610 | bool "Enable \"put\" command" | 610 | bool "Enable \"put\" command" |
611 | default y | 611 | default y |
612 | depends on CONFIG_TFTP | 612 | depends on TFTP |
613 | help | 613 | help |
614 | Add support for the PUT command within the TFTP client. This allows | 614 | Add support for the PUT command within the TFTP client. This allows |
615 | a client to transfer a file to a TFTP server. | 615 | a client to transfer a file to a TFTP server. |
616 | 616 | ||
617 | config CONFIG_FEATURE_TFTP_BLOCKSIZE | 617 | config FEATURE_TFTP_BLOCKSIZE |
618 | bool "Enable \"blocksize\" command" | 618 | bool "Enable \"blocksize\" command" |
619 | default n | 619 | default n |
620 | depends on CONFIG_TFTP | 620 | depends on TFTP |
621 | help | 621 | help |
622 | Allow the client to specify the desired block size for transfers. | 622 | Allow the client to specify the desired block size for transfers. |
623 | 623 | ||
624 | config CONFIG_DEBUG_TFTP | 624 | config DEBUG_TFTP |
625 | bool "Enable debug" | 625 | bool "Enable debug" |
626 | default n | 626 | default n |
627 | depends on CONFIG_TFTP | 627 | depends on TFTP |
628 | help | 628 | help |
629 | Enable debug settings for tftp. This is useful if you're running | 629 | Enable debug settings for tftp. This is useful if you're running |
630 | into problems with tftp as the protocol doesn't help you much when | 630 | into problems with tftp as the protocol doesn't help you much when |
631 | you run into problems. | 631 | you run into problems. |
632 | 632 | ||
633 | config CONFIG_TRACEROUTE | 633 | config TRACEROUTE |
634 | bool "traceroute" | 634 | bool "traceroute" |
635 | default n | 635 | default n |
636 | help | 636 | help |
637 | Utility to trace the route of IP packets | 637 | Utility to trace the route of IP packets |
638 | 638 | ||
639 | config CONFIG_FEATURE_TRACEROUTE_VERBOSE | 639 | config FEATURE_TRACEROUTE_VERBOSE |
640 | bool "Enable verbose output" | 640 | bool "Enable verbose output" |
641 | default n | 641 | default n |
642 | depends on CONFIG_TRACEROUTE | 642 | depends on TRACEROUTE |
643 | help | 643 | help |
644 | Add some verbosity to traceroute. This includes amongst other things | 644 | Add some verbosity to traceroute. This includes amongst other things |
645 | hostnames and ICMP response types. | 645 | hostnames and ICMP response types. |
646 | 646 | ||
647 | config CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE | 647 | config FEATURE_TRACEROUTE_SOURCE_ROUTE |
648 | bool "Enable loose source route" | 648 | bool "Enable loose source route" |
649 | default n | 649 | default n |
650 | depends on CONFIG_TRACEROUTE | 650 | depends on TRACEROUTE |
651 | help | 651 | help |
652 | Add option to specify a loose source route gateway | 652 | Add option to specify a loose source route gateway |
653 | (8 maximum). | 653 | (8 maximum). |
654 | 654 | ||
655 | config CONFIG_FEATURE_TRACEROUTE_USE_ICMP | 655 | config FEATURE_TRACEROUTE_USE_ICMP |
656 | bool "Use ICMP instead of UDP" | 656 | bool "Use ICMP instead of UDP" |
657 | default n | 657 | default n |
658 | depends on CONFIG_TRACEROUTE | 658 | depends on TRACEROUTE |
659 | help | 659 | help |
660 | Add feature to allow for ICMP ECHO instead of UDP datagrams. | 660 | Add feature to allow for ICMP ECHO instead of UDP datagrams. |
661 | 661 | ||
662 | source networking/udhcp/Config.in | 662 | source networking/udhcp/Config.in |
663 | 663 | ||
664 | config CONFIG_VCONFIG | 664 | config VCONFIG |
665 | bool "vconfig" | 665 | bool "vconfig" |
666 | default n | 666 | default n |
667 | help | 667 | help |
668 | Creates, removes, and configures VLAN interfaces | 668 | Creates, removes, and configures VLAN interfaces |
669 | 669 | ||
670 | config CONFIG_WGET | 670 | config WGET |
671 | bool "wget" | 671 | bool "wget" |
672 | default n | 672 | default n |
673 | help | 673 | help |
674 | wget is a utility for non-interactive download of files from HTTP, | 674 | wget is a utility for non-interactive download of files from HTTP, |
675 | HTTPS, and FTP servers. | 675 | HTTPS, and FTP servers. |
676 | 676 | ||
677 | config CONFIG_FEATURE_WGET_STATUSBAR | 677 | config FEATURE_WGET_STATUSBAR |
678 | bool "Enable a nifty process meter (+2k)" | 678 | bool "Enable a nifty process meter (+2k)" |
679 | default y | 679 | default y |
680 | depends on CONFIG_WGET | 680 | depends on WGET |
681 | help | 681 | help |
682 | Enable the transfer progress bar for wget transfers. | 682 | Enable the transfer progress bar for wget transfers. |
683 | 683 | ||
684 | config CONFIG_FEATURE_WGET_AUTHENTICATION | 684 | config FEATURE_WGET_AUTHENTICATION |
685 | bool "Enable HTTP authentication" | 685 | bool "Enable HTTP authentication" |
686 | default y | 686 | default y |
687 | depends on CONFIG_WGET | 687 | depends on WGET |
688 | help | 688 | help |
689 | Support authenticated HTTP transfers. | 689 | Support authenticated HTTP transfers. |
690 | 690 | ||
691 | config CONFIG_FEATURE_WGET_IP6_LITERAL | 691 | config FEATURE_WGET_IP6_LITERAL |
692 | bool "Enable IPv6 literal addresses" | 692 | bool "Enable IPv6 literal addresses" |
693 | default y | 693 | default y |
694 | depends on CONFIG_WGET && CONFIG_FEATURE_IPV6 | 694 | depends on WGET && FEATURE_IPV6 |
695 | help | 695 | help |
696 | Support IPv6 address literal notation in URLs. | 696 | Support IPv6 address literal notation in URLs. |
697 | 697 | ||
698 | config CONFIG_FEATURE_WGET_LONG_OPTIONS | 698 | config FEATURE_WGET_LONG_OPTIONS |
699 | bool "Enable long options" | 699 | bool "Enable long options" |
700 | default n | 700 | default n |
701 | depends on CONFIG_WGET && CONFIG_GETOPT_LONG | 701 | depends on WGET && GETOPT_LONG |
702 | help | 702 | help |
703 | Support long options for the wget applet. | 703 | Support long options for the wget applet. |
704 | 704 | ||
705 | config CONFIG_ZCIP | 705 | config ZCIP |
706 | bool "zcip" | 706 | bool "zcip" |
707 | default n | 707 | default n |
708 | select CONFIG_FEATURE_SYSLOG | 708 | select FEATURE_SYSLOG |
709 | help | 709 | help |
710 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | 710 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
711 | It's a daemon that allocates and defends a dynamically assigned | 711 | It's a daemon that allocates and defends a dynamically assigned |
diff --git a/networking/Kbuild b/networking/Kbuild new file mode 100644 index 000000000..066475925 --- /dev/null +++ b/networking/Kbuild | |||
@@ -0,0 +1,38 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | ||
6 | |||
7 | lib-y:= | ||
8 | lib-$(CONFIG_ARPING) += arping.o | ||
9 | lib-$(CONFIG_DNSD) += dnsd.o | ||
10 | lib-$(CONFIG_ETHER_WAKE) += ether-wake.o | ||
11 | lib-$(CONFIG_FAKEIDENTD) += fakeidentd.o | ||
12 | lib-$(CONFIG_FTPGET) += ftpgetput.o | ||
13 | lib-$(CONFIG_FTPPUT) += ftpgetput.o | ||
14 | lib-$(CONFIG_HOSTNAME) += hostname.o | ||
15 | lib-$(CONFIG_HTTPD) += httpd.o | ||
16 | lib-$(CONFIG_IFCONFIG) += ifconfig.o interface.o | ||
17 | lib-$(CONFIG_IFUPDOWN) += ifupdown.o | ||
18 | lib-$(CONFIG_INETD) += inetd.o | ||
19 | lib-$(CONFIG_IP) += ip.o | ||
20 | lib-$(CONFIG_IPCALC) += ipcalc.o | ||
21 | lib-$(CONFIG_IPADDR) += ipaddr.o | ||
22 | lib-$(CONFIG_IPLINK) += iplink.o | ||
23 | lib-$(CONFIG_IPROUTE) += iproute.o | ||
24 | lib-$(CONFIG_IPTUNNEL) += iptunnel.o | ||
25 | lib-$(CONFIG_NAMEIF) += nameif.o | ||
26 | lib-$(CONFIG_NC) += nc.o | ||
27 | lib-$(CONFIG_NETSTAT) += netstat.o | ||
28 | lib-$(CONFIG_NSLOOKUP) += nslookup.o | ||
29 | lib-$(CONFIG_PING) += ping.o | ||
30 | lib-$(CONFIG_PING6) += ping6.o | ||
31 | lib-$(CONFIG_ROUTE) += route.o | ||
32 | lib-$(CONFIG_TELNET) += telnet.o | ||
33 | lib-$(CONFIG_TELNETD) += telnetd.o | ||
34 | lib-$(CONFIG_TFTP) += tftp.o | ||
35 | lib-$(CONFIG_TRACEROUTE) += traceroute.o | ||
36 | lib-$(CONFIG_VCONFIG) += vconfig.o | ||
37 | lib-$(CONFIG_WGET) += wget.o | ||
38 | lib-$(CONFIG_ZCIP) += zcip.o | ||
diff --git a/networking/Makefile b/networking/Makefile deleted file mode 100644 index c3f2d79c9..000000000 --- a/networking/Makefile +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | ||
6 | |||
7 | ifndef top_srcdir | ||
8 | top_srcdir=.. | ||
9 | endif | ||
10 | ifndef top_builddir | ||
11 | top_builddir=.. | ||
12 | endif | ||
13 | srcdir=$(top_srcdir)/networking | ||
14 | NETWORKING_DIR:=./ | ||
15 | include $(top_srcdir)/Rules.mak | ||
16 | include $(top_builddir)/.config | ||
17 | include Makefile.in | ||
18 | all: $(libraries-y) | ||
19 | -include $(top_builddir)/.depend | ||
20 | |||
21 | clean: | ||
22 | rm -f *.o *.a $(AR_TARGET) | ||
23 | |||
diff --git a/networking/Makefile.in b/networking/Makefile.in deleted file mode 100644 index 650fc1a4a..000000000 --- a/networking/Makefile.in +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | ||
6 | |||
7 | NETWORKING_AR:=networking.a | ||
8 | ifndef $(NETWORKING_DIR) | ||
9 | NETWORKING_DIR:=$(top_builddir)/networking/ | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/networking | ||
12 | |||
13 | NETWORKING-y:= | ||
14 | NETWORKING-$(CONFIG_ARPING) += arping.o | ||
15 | NETWORKING-$(CONFIG_DNSD) += dnsd.o | ||
16 | NETWORKING-$(CONFIG_ETHER_WAKE) += ether-wake.o | ||
17 | NETWORKING-$(CONFIG_FAKEIDENTD) += fakeidentd.o | ||
18 | NETWORKING-$(CONFIG_FTPGET) += ftpgetput.o | ||
19 | NETWORKING-$(CONFIG_FTPPUT) += ftpgetput.o | ||
20 | NETWORKING-$(CONFIG_HOSTNAME) += hostname.o | ||
21 | NETWORKING-$(CONFIG_HTTPD) += httpd.o | ||
22 | NETWORKING-$(CONFIG_IFCONFIG) += ifconfig.o interface.o | ||
23 | NETWORKING-$(CONFIG_IFUPDOWN) += ifupdown.o | ||
24 | NETWORKING-$(CONFIG_INETD) += inetd.o | ||
25 | NETWORKING-$(CONFIG_IP) += ip.o | ||
26 | NETWORKING-$(CONFIG_IPCALC) += ipcalc.o | ||
27 | NETWORKING-$(CONFIG_IPADDR) += ipaddr.o | ||
28 | NETWORKING-$(CONFIG_IPLINK) += iplink.o | ||
29 | NETWORKING-$(CONFIG_IPROUTE) += iproute.o | ||
30 | NETWORKING-$(CONFIG_IPTUNNEL) += iptunnel.o | ||
31 | NETWORKING-$(CONFIG_NAMEIF) += nameif.o | ||
32 | NETWORKING-$(CONFIG_NC) += nc.o | ||
33 | NETWORKING-$(CONFIG_NETSTAT) += netstat.o | ||
34 | NETWORKING-$(CONFIG_NSLOOKUP) += nslookup.o | ||
35 | NETWORKING-$(CONFIG_PING) += ping.o | ||
36 | NETWORKING-$(CONFIG_PING6) += ping6.o | ||
37 | NETWORKING-$(CONFIG_ROUTE) += route.o | ||
38 | NETWORKING-$(CONFIG_TELNET) += telnet.o | ||
39 | NETWORKING-$(CONFIG_TELNETD) += telnetd.o | ||
40 | NETWORKING-$(CONFIG_TFTP) += tftp.o | ||
41 | NETWORKING-$(CONFIG_TRACEROUTE) += traceroute.o | ||
42 | NETWORKING-$(CONFIG_VCONFIG) += vconfig.o | ||
43 | NETWORKING-$(CONFIG_WGET) += wget.o | ||
44 | NETWORKING-$(CONFIG_ZCIP) += zcip.o | ||
45 | |||
46 | NETWORKING-y:=$(sort $(NETWORKING-y)) | ||
47 | ifneq ($(strip $(NETWORKING-y)),) | ||
48 | libraries-y+=$(NETWORKING_DIR)$(NETWORKING_AR) | ||
49 | endif | ||
50 | |||
51 | NETWORKING_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(NETWORKING-y)) | ||
52 | NETWORKING_SRC-a:=$(wildcard $(srcdir)/*.c) | ||
53 | APPLET_SRC-y+=$(NETWORKING_SRC-y) | ||
54 | APPLET_SRC-a+=$(NETWORKING_SRC-a) | ||
55 | |||
56 | LIBRARY_DEFINE-y+= -I$(top_srcdir)/networking | ||
57 | LIBRARY_DEFINE-a+= -I$(top_srcdir)/networking | ||
58 | |||
59 | needcrypt-y:= | ||
60 | needcrypt-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) := y | ||
61 | |||
62 | ifeq ($(needcrypt-y),y) | ||
63 | LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES)) | ||
64 | endif | ||
65 | |||
66 | $(NETWORKING_DIR)$(NETWORKING_AR): $(patsubst %,$(NETWORKING_DIR)%, $(NETWORKING-y)) | ||
67 | $(do_ar) | ||
68 | |||
69 | $(NETWORKING_DIR)%.o: $(srcdir)/%.c | ||
70 | $(compile.c) | ||
diff --git a/networking/libiproute/Kbuild b/networking/libiproute/Kbuild new file mode 100644 index 000000000..476374e19 --- /dev/null +++ b/networking/libiproute/Kbuild | |||
@@ -0,0 +1,58 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | ||
6 | # | ||
7 | |||
8 | lib-y:= | ||
9 | lib-$(CONFIG_IP) += \ | ||
10 | ip_parse_common_args.o \ | ||
11 | ipaddress.o \ | ||
12 | iplink.o \ | ||
13 | iproute.o \ | ||
14 | iptunnel.o \ | ||
15 | libnetlink.o \ | ||
16 | ll_addr.o \ | ||
17 | ll_map.o \ | ||
18 | ll_proto.o \ | ||
19 | ll_types.o \ | ||
20 | rt_names.o \ | ||
21 | rtm_map.o \ | ||
22 | utils.o | ||
23 | |||
24 | lib-$(CONFIG_IPADDR) += \ | ||
25 | ip_parse_common_args.o \ | ||
26 | ipaddress.o \ | ||
27 | libnetlink.o \ | ||
28 | ll_addr.o \ | ||
29 | ll_map.o \ | ||
30 | ll_types.o \ | ||
31 | rt_names.o \ | ||
32 | utils.o | ||
33 | |||
34 | lib-$(CONFIG_IPLINK) += \ | ||
35 | ip_parse_common_args.o \ | ||
36 | ipaddress.o \ | ||
37 | iplink.o \ | ||
38 | libnetlink.o \ | ||
39 | ll_addr.o \ | ||
40 | ll_map.o \ | ||
41 | ll_types.o \ | ||
42 | rt_names.o \ | ||
43 | utils.o | ||
44 | |||
45 | lib-$(CONFIG_IPROUTE) += \ | ||
46 | ip_parse_common_args.o \ | ||
47 | iproute.o \ | ||
48 | libnetlink.o \ | ||
49 | ll_map.o \ | ||
50 | rt_names.o \ | ||
51 | rtm_map.o \ | ||
52 | utils.o | ||
53 | |||
54 | lib-$(CONFIG_IPTUNNEL) += \ | ||
55 | ip_parse_common_args.o \ | ||
56 | iptunnel.o \ | ||
57 | rt_names.o \ | ||
58 | utils.o | ||
diff --git a/networking/libiproute/Makefile b/networking/libiproute/Makefile deleted file mode 100644 index 2fafae738..000000000 --- a/networking/libiproute/Makefile +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | # General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software | ||
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | # | ||
19 | |||
20 | ifndef top_srcdir | ||
21 | top_srcdir=../.. | ||
22 | endif | ||
23 | ifndef top_builddir | ||
24 | top_builddir=../.. | ||
25 | endif | ||
26 | srcdir=$(top_srcdir)/networking/libiproute | ||
27 | LIBIPROUTE_DIR:=./ | ||
28 | include $(top_srcdir)/Rules.mak | ||
29 | include $(top_builddir)/.config | ||
30 | include Makefile.in | ||
31 | all: $(libraries-y) | ||
32 | -include $(top_builddir)/.depend | ||
33 | |||
34 | clean: | ||
35 | rm -f *.o *.a $(AR_TARGET) | ||
36 | |||
diff --git a/networking/libiproute/Makefile.in b/networking/libiproute/Makefile.in deleted file mode 100644 index f713502b3..000000000 --- a/networking/libiproute/Makefile.in +++ /dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | ||
6 | # | ||
7 | |||
8 | LIBIPROUTE_AR:=libiproute.a | ||
9 | ifndef $(LIBIPROUTE_DIR) | ||
10 | LIBIPROUTE_DIR:=$(top_builddir)/networking/libiproute | ||
11 | endif | ||
12 | srcdir=$(top_srcdir)/networking/libiproute | ||
13 | |||
14 | LIBIPROUTE-y:= | ||
15 | LIBIPROUTE-$(CONFIG_IP) += \ | ||
16 | ip_parse_common_args.o \ | ||
17 | ipaddress.o \ | ||
18 | iplink.o \ | ||
19 | iproute.o \ | ||
20 | iptunnel.o \ | ||
21 | libnetlink.o \ | ||
22 | ll_addr.o \ | ||
23 | ll_map.o \ | ||
24 | ll_proto.o \ | ||
25 | ll_types.o \ | ||
26 | rt_names.o \ | ||
27 | rtm_map.o \ | ||
28 | utils.o | ||
29 | |||
30 | LIBIPROUTE-$(CONFIG_IPADDR) += \ | ||
31 | ip_parse_common_args.o \ | ||
32 | ipaddress.o \ | ||
33 | libnetlink.o \ | ||
34 | ll_addr.o \ | ||
35 | ll_map.o \ | ||
36 | ll_types.o \ | ||
37 | rt_names.o \ | ||
38 | utils.o | ||
39 | |||
40 | LIBIPROUTE-$(CONFIG_IPLINK) += \ | ||
41 | ip_parse_common_args.o \ | ||
42 | ipaddress.o \ | ||
43 | iplink.o \ | ||
44 | libnetlink.o \ | ||
45 | ll_addr.o \ | ||
46 | ll_map.o \ | ||
47 | ll_types.o \ | ||
48 | rt_names.o \ | ||
49 | utils.o | ||
50 | |||
51 | LIBIPROUTE-$(CONFIG_IPROUTE) += \ | ||
52 | ip_parse_common_args.o \ | ||
53 | iproute.o \ | ||
54 | libnetlink.o \ | ||
55 | ll_map.o \ | ||
56 | rt_names.o \ | ||
57 | rtm_map.o \ | ||
58 | utils.o | ||
59 | |||
60 | LIBIPROUTE-$(CONFIG_IPTUNNEL) += \ | ||
61 | ip_parse_common_args.o \ | ||
62 | iptunnel.o \ | ||
63 | rt_names.o \ | ||
64 | utils.o | ||
65 | |||
66 | LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y)) | ||
67 | |||
68 | LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBIPROUTE-y))) | ||
69 | LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c) | ||
70 | LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y) | ||
71 | LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a) | ||
72 | |||
73 | LIBIPROUTE-obj:=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR) | ||
74 | |||
75 | ifneq ($(strip $(LIBIPROUTE-y)),) | ||
76 | libraries-y+=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR) | ||
77 | endif | ||
78 | |||
79 | $(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR): $(patsubst %,$(LIBIPROUTE_DIR)/%,$(LIBIPROUTE-y)) | ||
80 | $(do_ar) | ||
81 | |||
82 | $(LIBIPROUTE_DIR)/%.o: $(srcdir)/%.c | ||
83 | $(compile.c) | ||
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in index f01340192..13dbcee9c 100644 --- a/networking/udhcp/Config.in +++ b/networking/udhcp/Config.in | |||
@@ -3,7 +3,7 @@ | |||
3 | # see scripts/kbuild/config-language.txt. | 3 | # see scripts/kbuild/config-language.txt. |
4 | # | 4 | # |
5 | 5 | ||
6 | config CONFIG_APP_UDHCPD | 6 | config APP_UDHCPD |
7 | bool "udhcp Server (udhcpd)" | 7 | bool "udhcp Server (udhcpd)" |
8 | default n | 8 | default n |
9 | help | 9 | help |
@@ -12,10 +12,10 @@ config CONFIG_APP_UDHCPD | |||
12 | 12 | ||
13 | See http://udhcp.busybox.net for further details. | 13 | See http://udhcp.busybox.net for further details. |
14 | 14 | ||
15 | config CONFIG_APP_DUMPLEASES | 15 | config APP_DUMPLEASES |
16 | bool "Lease display utility (dumpleases)" | 16 | bool "Lease display utility (dumpleases)" |
17 | default n | 17 | default n |
18 | depends on CONFIG_APP_UDHCPD | 18 | depends on APP_UDHCPD |
19 | help | 19 | help |
20 | dumpleases displays the leases written out by the udhcpd server. | 20 | dumpleases displays the leases written out by the udhcpd server. |
21 | Lease times are stored in the file by time remaining in lease, or | 21 | Lease times are stored in the file by time remaining in lease, or |
@@ -23,7 +23,7 @@ config CONFIG_APP_DUMPLEASES | |||
23 | 23 | ||
24 | See http://udhcp.busybox.net for further details. | 24 | See http://udhcp.busybox.net for further details. |
25 | 25 | ||
26 | config CONFIG_APP_UDHCPC | 26 | config APP_UDHCPC |
27 | bool "udhcp Client (udhcpc)" | 27 | bool "udhcp Client (udhcpc)" |
28 | default n | 28 | default n |
29 | help | 29 | help |
@@ -35,21 +35,21 @@ config CONFIG_APP_UDHCPC | |||
35 | 35 | ||
36 | See http://udhcp.busybox.net for further details. | 36 | See http://udhcp.busybox.net for further details. |
37 | 37 | ||
38 | config CONFIG_FEATURE_UDHCP_SYSLOG | 38 | config FEATURE_UDHCP_SYSLOG |
39 | bool "Log udhcp messages to syslog" | 39 | bool "Log udhcp messages to syslog" |
40 | default n | 40 | default n |
41 | depends on CONFIG_APP_UDHCPD || CONFIG_APP_UDHCPC | 41 | depends on APP_UDHCPD || APP_UDHCPC |
42 | select CONFIG_FEATURE_SYSLOG | 42 | select FEATURE_SYSLOG |
43 | help | 43 | help |
44 | If not daemonized, udhcpd prints its messages to stdout/stderr. | 44 | If not daemonized, udhcpd prints its messages to stdout/stderr. |
45 | If this option is selected, it will also log them to syslog. | 45 | If this option is selected, it will also log them to syslog. |
46 | 46 | ||
47 | See http://udhcp.busybox.net for further details. | 47 | See http://udhcp.busybox.net for further details. |
48 | 48 | ||
49 | config CONFIG_FEATURE_UDHCP_DEBUG | 49 | config FEATURE_UDHCP_DEBUG |
50 | bool "Compile udhcp with noisy debugging messages" | 50 | bool "Compile udhcp with noisy debugging messages" |
51 | default n | 51 | default n |
52 | depends on CONFIG_APP_UDHCPD || CONFIG_APP_UDHCPC | 52 | depends on APP_UDHCPD || APP_UDHCPC |
53 | help | 53 | help |
54 | If selected, udhcpd will output extra debugging output. If using | 54 | If selected, udhcpd will output extra debugging output. If using |
55 | this option, compile uDHCP with "-g", and do not fork the daemon to | 55 | this option, compile uDHCP with "-g", and do not fork the daemon to |
diff --git a/networking/udhcp/Kbuild b/networking/udhcp/Kbuild new file mode 100644 index 000000000..90047c174 --- /dev/null +++ b/networking/udhcp/Kbuild | |||
@@ -0,0 +1,17 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | ||
6 | # | ||
7 | |||
8 | lib-y:= | ||
9 | lib-$(CONFIG_APP_UDHCPC) += common.o options.o packet.o pidfile.o \ | ||
10 | signalpipe.o socket.o | ||
11 | lib-$(CONFIG_APP_UDHCPD) += common.o options.o packet.o pidfile.o \ | ||
12 | signalpipe.o socket.o | ||
13 | lib-$(CONFIG_APP_UDHCPC) += dhcpc.o clientpacket.o clientsocket.o \ | ||
14 | script.o | ||
15 | lib-$(CONFIG_APP_UDHCPD) += dhcpd.o arpping.o files.o leases.o \ | ||
16 | serverpacket.o static_leases.o | ||
17 | lib-$(CONFIG_APP_DUMPLEASES) += dumpleases.o | ||
diff --git a/networking/udhcp/Makefile b/networking/udhcp/Makefile deleted file mode 100644 index 23131f8f0..000000000 --- a/networking/udhcp/Makefile +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | ||
6 | |||
7 | #ifndef top_srcdir | ||
8 | #top_srcdir=../.. | ||
9 | #endif | ||
10 | #ifndef top_builddir | ||
11 | #top_builddir=../.. | ||
12 | #endif | ||
13 | srcdir=$(top_srcdir)/networking/udhcp | ||
14 | UDHCP_DIR:=./ | ||
15 | include $(top_srcdir)/Rules.mak | ||
16 | include $(top_builddir)/.config | ||
17 | include Makefile.in | ||
18 | all: $(libraries-y) | ||
19 | -include $(top_builddir)/.depend | ||
20 | |||
21 | clean: | ||
22 | rm -f *.o *.a $(AR_TARGET) | ||
23 | |||
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in deleted file mode 100644 index cbc6f2b39..000000000 --- a/networking/udhcp/Makefile.in +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | ||
6 | # | ||
7 | |||
8 | UDHCP_AR:=udhcp.a | ||
9 | ifndef $(UDHCP_DIR) | ||
10 | UDHCP_DIR:=$(top_builddir)/networking/udhcp/ | ||
11 | endif | ||
12 | srcdir=$(top_srcdir)/networking/udhcp | ||
13 | |||
14 | #ok, so I forgot how to do an or, but this is a quick and dirty hack | ||
15 | ifeq ($(strip $(CONFIG_APP_UDHCPC)),y) | ||
16 | CONFIG_UDHCP_SHARED=y | ||
17 | else | ||
18 | ifeq ($(strip $(CONFIG_APP_UDHCPD)),y) | ||
19 | CONFIG_UDHCP_SHARED=y | ||
20 | else | ||
21 | CONFIG_UDHCP_SHARED=n | ||
22 | endif | ||
23 | endif | ||
24 | |||
25 | UDHCP-y:= | ||
26 | UDHCP-$(CONFIG_UDHCP_SHARED) += common.c options.c packet.c pidfile.c \ | ||
27 | signalpipe.c socket.c | ||
28 | UDHCP-$(CONFIG_APP_UDHCPC) += dhcpc.c clientpacket.c clientsocket.c \ | ||
29 | script.c | ||
30 | UDHCP-$(CONFIG_APP_UDHCPD) += dhcpd.c arpping.c files.c leases.c \ | ||
31 | serverpacket.c static_leases.c | ||
32 | UDHCP-$(CONFIG_APP_DUMPLEASES) += dumpleases.c | ||
33 | UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y)) | ||
34 | |||
35 | ifneq ($(strip $(UDHCP-y)),) | ||
36 | libraries-y+=$(UDHCP_DIR)$(UDHCP_AR) | ||
37 | endif | ||
38 | |||
39 | UDHCP-y:=$(patsubst %,$(srcdir)/%,$(UDHCP-y)) | ||
40 | UDHCP-a:=$(wildcard $(srcdir)/*.c) | ||
41 | APPLET_SRC-y+=$(UDHCP-y) | ||
42 | APPLET_SRC-a+=$(UDHCP-a) | ||
43 | |||
44 | UDHCP_INCLUDES:=$(srcdir) | ||
45 | |||
46 | APPLETS_DEFINE-y+= -I$(UDHCP_INCLUDES) | ||
47 | APPLETS_DEFINE-a+= -I$(UDHCP_INCLUDES) | ||
48 | |||
49 | $(UDHCP_DIR)$(UDHCP_AR): $(UDHCP_OBJS) | ||
50 | $(do_ar) | ||
51 | |||
52 | $(UDHCP_OBJS): $(UDHCP_DIR)%.o : $(srcdir)/%.c | ||
53 | $(compile.c) | ||