diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-17 20:59:42 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-19 18:35:29 +0200 |
commit | 952bd42ad540b600e7e4b7a54ff718f003891996 (patch) | |
tree | b7368110a919038eaabda6443675050250c62e53 | |
parent | ab45071f366e7851b684f2d762545d675e0c094e (diff) | |
download | busybox-w32-952bd42ad540b600e7e4b7a54ff718f003891996.tar.gz busybox-w32-952bd42ad540b600e7e4b7a54ff718f003891996.tar.bz2 busybox-w32-952bd42ad540b600e7e4b7a54ff718f003891996.zip |
Config.in: exclude some features from MinGW port
-rw-r--r-- | Config.in | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -47,6 +47,7 @@ config EXTRA_COMPAT | |||
47 | config INCLUDE_SUSv2 | 47 | config INCLUDE_SUSv2 |
48 | bool "Enable obsolete features removed before SUSv3" | 48 | bool "Enable obsolete features removed before SUSv3" |
49 | default y | 49 | default y |
50 | depends on !PLATFORM_MINGW32 | ||
50 | help | 51 | help |
51 | This option will enable backwards compatibility with SuSv2, | 52 | This option will enable backwards compatibility with SuSv2, |
52 | specifically, old-style numeric options ('command -1 <file>') | 53 | specifically, old-style numeric options ('command -1 <file>') |
@@ -121,6 +122,7 @@ config FEATURE_COMPRESS_USAGE | |||
121 | config FEATURE_INSTALLER | 122 | config FEATURE_INSTALLER |
122 | bool "Support --install [-s] to install applet links at runtime" | 123 | bool "Support --install [-s] to install applet links at runtime" |
123 | default n | 124 | default n |
125 | depends on !PLATFORM_MINGW32 | ||
124 | help | 126 | help |
125 | Enable 'busybox --install [-s]' support. This will allow you to use | 127 | Enable 'busybox --install [-s]' support. This will allow you to use |
126 | busybox at runtime to create hard links or symlinks for all the | 128 | busybox at runtime to create hard links or symlinks for all the |
@@ -129,6 +131,7 @@ config FEATURE_INSTALLER | |||
129 | config LOCALE_SUPPORT | 131 | config LOCALE_SUPPORT |
130 | bool "Enable locale support (system needs locale for this to work)" | 132 | bool "Enable locale support (system needs locale for this to work)" |
131 | default n | 133 | default n |
134 | depends on !PLATFORM_MINGW32 | ||
132 | help | 135 | help |
133 | Enable this if your system has locale support and you would like | 136 | Enable this if your system has locale support and you would like |
134 | busybox to support locale settings. | 137 | busybox to support locale settings. |
@@ -136,6 +139,7 @@ config LOCALE_SUPPORT | |||
136 | config UNICODE_SUPPORT | 139 | config UNICODE_SUPPORT |
137 | bool "Support Unicode" | 140 | bool "Support Unicode" |
138 | default n | 141 | default n |
142 | depends on !PLATFORM_MINGW32 | ||
139 | help | 143 | help |
140 | This makes various applets aware that one byte is not | 144 | This makes various applets aware that one byte is not |
141 | one character on screen. | 145 | one character on screen. |
@@ -247,6 +251,7 @@ config LONG_OPTS | |||
247 | config FEATURE_DEVPTS | 251 | config FEATURE_DEVPTS |
248 | bool "Use the devpts filesystem for Unix98 PTYs" | 252 | bool "Use the devpts filesystem for Unix98 PTYs" |
249 | default y | 253 | default y |
254 | depends on !PLATFORM_MINGW32 | ||
250 | help | 255 | help |
251 | Enable if you want BusyBox to use Unix98 PTY support. If enabled, | 256 | Enable if you want BusyBox to use Unix98 PTY support. If enabled, |
252 | busybox will use /dev/ptmx for the master side of the pseudoterminal | 257 | busybox will use /dev/ptmx for the master side of the pseudoterminal |
@@ -269,6 +274,7 @@ config FEATURE_CLEAN_UP | |||
269 | config FEATURE_UTMP | 274 | config FEATURE_UTMP |
270 | bool "Support utmp file" | 275 | bool "Support utmp file" |
271 | default n | 276 | default n |
277 | depends on !PLATFORM_MINGW32 | ||
272 | help | 278 | help |
273 | The file /var/run/utmp is used to track who is currently logged in. | 279 | The file /var/run/utmp is used to track who is currently logged in. |
274 | With this option on, certain applets (getty, login, telnetd etc) | 280 | With this option on, certain applets (getty, login, telnetd etc) |
@@ -279,6 +285,7 @@ config FEATURE_WTMP | |||
279 | bool "Support wtmp file" | 285 | bool "Support wtmp file" |
280 | default n | 286 | default n |
281 | select FEATURE_UTMP | 287 | select FEATURE_UTMP |
288 | depends on !PLATFORM_MINGW32 | ||
282 | help | 289 | help |
283 | The file /var/run/wtmp is used to track when users have logged into | 290 | The file /var/run/wtmp is used to track when users have logged into |
284 | and logged out of the system. | 291 | and logged out of the system. |
@@ -289,6 +296,7 @@ config FEATURE_WTMP | |||
289 | config FEATURE_PIDFILE | 296 | config FEATURE_PIDFILE |
290 | bool "Support writing pidfiles" | 297 | bool "Support writing pidfiles" |
291 | default n | 298 | default n |
299 | depends on !PLATFORM_MINGW32 | ||
292 | help | 300 | help |
293 | This option makes some applets (e.g. crond, syslogd, inetd) write | 301 | This option makes some applets (e.g. crond, syslogd, inetd) write |
294 | a pidfile in /var/run. Some applications rely on them. | 302 | a pidfile in /var/run. Some applications rely on them. |
@@ -296,6 +304,7 @@ config FEATURE_PIDFILE | |||
296 | config FEATURE_SUID | 304 | config FEATURE_SUID |
297 | bool "Support for SUID/SGID handling" | 305 | bool "Support for SUID/SGID handling" |
298 | default n | 306 | default n |
307 | depends on !PLATFORM_MINGW32 | ||
299 | help | 308 | help |
300 | With this option you can install the busybox binary belonging | 309 | With this option you can install the busybox binary belonging |
301 | to root with the suid bit set, and it will automatically drop | 310 | to root with the suid bit set, and it will automatically drop |
@@ -314,6 +323,7 @@ config FEATURE_SUID_CONFIG | |||
314 | bool "Runtime SUID/SGID configuration via /etc/busybox.conf" | 323 | bool "Runtime SUID/SGID configuration via /etc/busybox.conf" |
315 | default n if FEATURE_SUID | 324 | default n if FEATURE_SUID |
316 | depends on FEATURE_SUID | 325 | depends on FEATURE_SUID |
326 | depends on !PLATFORM_MINGW32 | ||
317 | help | 327 | help |
318 | Allow the SUID / SGID state of an applet to be determined at runtime | 328 | Allow the SUID / SGID state of an applet to be determined at runtime |
319 | by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) | 329 | by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) |
@@ -355,6 +365,7 @@ config FEATURE_SUID_CONFIG_QUIET | |||
355 | config SELINUX | 365 | config SELINUX |
356 | bool "Support NSA Security Enhanced Linux" | 366 | bool "Support NSA Security Enhanced Linux" |
357 | default n | 367 | default n |
368 | depends on !PLATFORM_MINGW32 | ||
358 | help | 369 | help |
359 | Enable support for SELinux in applets ls, ps, and id. Also provide | 370 | Enable support for SELinux in applets ls, ps, and id. Also provide |
360 | the option of compiling in SELinux applets. | 371 | the option of compiling in SELinux applets. |
@@ -389,6 +400,7 @@ config FEATURE_PREFER_APPLETS | |||
389 | config BUSYBOX_EXEC_PATH | 400 | config BUSYBOX_EXEC_PATH |
390 | string "Path to BusyBox executable" | 401 | string "Path to BusyBox executable" |
391 | default "/proc/self/exe" | 402 | default "/proc/self/exe" |
403 | depends on !PLATFORM_MINGW32 | ||
392 | help | 404 | help |
393 | When Busybox applets need to run other busybox applets, BusyBox | 405 | When Busybox applets need to run other busybox applets, BusyBox |
394 | sometimes needs to exec() itself. When the /proc filesystem is | 406 | sometimes needs to exec() itself. When the /proc filesystem is |
@@ -401,6 +413,7 @@ config BUSYBOX_EXEC_PATH | |||
401 | config FEATURE_SYSLOG | 413 | config FEATURE_SYSLOG |
402 | bool #No description makes it a hidden option | 414 | bool #No description makes it a hidden option |
403 | default n | 415 | default n |
416 | depends on !PLATFORM_MINGW32 | ||
404 | #help | 417 | #help |
405 | # This option is auto-selected when you select any applet which may | 418 | # This option is auto-selected when you select any applet which may |
406 | # send its output to syslog. You do not need to select it manually. | 419 | # send its output to syslog. You do not need to select it manually. |
@@ -408,6 +421,7 @@ config FEATURE_SYSLOG | |||
408 | config FEATURE_HAVE_RPC | 421 | config FEATURE_HAVE_RPC |
409 | bool #No description makes it a hidden option | 422 | bool #No description makes it a hidden option |
410 | default n | 423 | default n |
424 | depends on !PLATFORM_MINGW32 | ||
411 | #help | 425 | #help |
412 | # This is automatically selected if any of enabled applets need it. | 426 | # This is automatically selected if any of enabled applets need it. |
413 | # You do not need to select it manually. | 427 | # You do not need to select it manually. |
@@ -419,6 +433,7 @@ menu 'Build Options' | |||
419 | config STATIC | 433 | config STATIC |
420 | bool "Build BusyBox as a static binary (no shared libs)" | 434 | bool "Build BusyBox as a static binary (no shared libs)" |
421 | default n | 435 | default n |
436 | depends on !PLATFORM_MINGW32 | ||
422 | help | 437 | help |
423 | If you want to build a static BusyBox binary, which does not | 438 | If you want to build a static BusyBox binary, which does not |
424 | use or require any shared libraries, then enable this option. | 439 | use or require any shared libraries, then enable this option. |
@@ -441,6 +456,7 @@ config PIE | |||
441 | config NOMMU | 456 | config NOMMU |
442 | bool "Force NOMMU build" | 457 | bool "Force NOMMU build" |
443 | default n | 458 | default n |
459 | depends on !PLATFORM_MINGW32 | ||
444 | help | 460 | help |
445 | Busybox tries to detect whether architecture it is being | 461 | Busybox tries to detect whether architecture it is being |
446 | built against supports MMU or not. If this detection fails, | 462 | built against supports MMU or not. If this detection fails, |
@@ -487,6 +503,7 @@ config FEATURE_INDIVIDUAL | |||
487 | bool "Produce a binary for each applet, linked against libbusybox" | 503 | bool "Produce a binary for each applet, linked against libbusybox" |
488 | default y | 504 | default y |
489 | depends on BUILD_LIBBUSYBOX | 505 | depends on BUILD_LIBBUSYBOX |
506 | depends on !PLATFORM_MINGW32 | ||
490 | help | 507 | help |
491 | If your CPU architecture doesn't allow for sharing text/rodata | 508 | If your CPU architecture doesn't allow for sharing text/rodata |
492 | sections of running binaries, but allows for runtime dynamic | 509 | sections of running binaries, but allows for runtime dynamic |
@@ -505,6 +522,7 @@ config FEATURE_SHARED_BUSYBOX | |||
505 | bool "Produce additional busybox binary linked against libbusybox" | 522 | bool "Produce additional busybox binary linked against libbusybox" |
506 | default y | 523 | default y |
507 | depends on BUILD_LIBBUSYBOX | 524 | depends on BUILD_LIBBUSYBOX |
525 | depends on !PLATFORM_MINGW32 | ||
508 | help | 526 | help |
509 | Build busybox, dynamically linked against libbusybox.so.N.N.N. | 527 | Build busybox, dynamically linked against libbusybox.so.N.N.N. |
510 | 528 | ||
@@ -642,6 +660,7 @@ endchoice | |||
642 | endmenu | 660 | endmenu |
643 | 661 | ||
644 | menu 'Installation Options' | 662 | menu 'Installation Options' |
663 | depends on !PLATFORM_MINGW32 | ||
645 | 664 | ||
646 | config INSTALL_NO_USR | 665 | config INSTALL_NO_USR |
647 | bool "Don't use /usr" | 666 | bool "Don't use /usr" |
@@ -711,6 +730,7 @@ endchoice | |||
711 | config PREFIX | 730 | config PREFIX |
712 | string "BusyBox installation prefix" | 731 | string "BusyBox installation prefix" |
713 | default "./_install" | 732 | default "./_install" |
733 | depends on !PLATFORM_MINGW32 | ||
714 | help | 734 | help |
715 | Define your directory to install BusyBox files/subdirs in. | 735 | Define your directory to install BusyBox files/subdirs in. |
716 | 736 | ||