aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Config.in210
1 files changed, 210 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index ad0cd1e26..f6159b30b 100644
--- a/Config.in
+++ b/Config.in
@@ -9,6 +9,20 @@ config HAVE_DOT_CONFIG
9 bool 9 bool
10 default y 10 default y
11 11
12choice
13 prompt "Target platform"
14 default PLATFORM_POSIX
15 help
16 Target platform you are building busybox for
17
18config PLATFORM_POSIX
19 bool "POSIX"
20
21config PLATFORM_MINGW32
22 bool "MS Windows (MinGW port)"
23
24endchoice
25
12menu "Settings" 26menu "Settings"
13 27
14config DESKTOP 28config DESKTOP
@@ -368,6 +382,190 @@ config FEATURE_SYSLOG
368 #This option is auto-selected when you select any applet which may 382 #This option is auto-selected when you select any applet which may
369 #send its output to syslog. You do not need to select it manually. 383 #send its output to syslog. You do not need to select it manually.
370 384
385comment 'Settings for MINGW32'
386
387config GLOBBING
388 bool "Allow busybox.exe to expand wildcards"
389 default y
390 depends on PLATFORM_MINGW32
391 help
392 In Microsoft Windows expansion of wildcards on the command line
393 ('globbing') is handled by the C runtime while the BusyBox shell
394 does its own wildcard expansion. In most circumstances BusyBox
395 will do the right thing. If it doesn't or if you don't need to
396 use BusyBox applets from the Windows Command Prompt you can stop
397 busybox.exe from expanding wildcards by setting this to 'N'.
398
399choice
400 prompt "Random number generator"
401 default FEATURE_PRNG_SHELL
402 depends on PLATFORM_MINGW32
403 help
404 BusyBox on Microsoft Windows uses a pseudo-random number
405 generator to emulate the Linux /dev/urandom device. There
406 are two options:
407 - The shell's built-in PRNG.
408 - Bob Jenkins' ISAAC. This is intended to be a secure PRNG. It's
409 slightly faster than the shell's PRNG but is larger both in terms
410 of code and runtime memory.
411
412config FEATURE_PRNG_SHELL
413 bool "Use shell PRNG"
414
415config FEATURE_PRNG_ISAAC
416 bool "Use ISAAC PRNG"
417
418endchoice
419
420config FEATURE_RESOURCES
421 bool "Include resources in binary"
422 default y
423 depends on PLATFORM_MINGW32
424 help
425 Microsoft Windows applications can contain non-executable resources
426 of various sorts.
427
428config FEATURE_VERSIONINFO
429 bool "Include version information in binary (1.0 kb)"
430 default y
431 depends on FEATURE_RESOURCES
432 help
433 Include version information in the application.
434
435choice
436 prompt "Manifest"
437 default FEATURE_APP_MANIFEST
438 depends on FEATURE_RESOURCES
439 help
440 Manifest to include in resources.
441
442config FEATURE_TOOLCHAIN_MANIFEST
443 bool "Toolchain default"
444 help
445 Include the default application manifest provided by the build
446 toolchain, if any. Enable this if your build toolchain includes
447 a suitable manifest.
448
449config FEATURE_APP_MANIFEST
450 bool "Application"
451 help
452 Include a manifest which declares privileges required by the
453 application and supported versions of Windows.
454
455config FEATURE_UTF8_MANIFEST
456 bool "UTF-8"
457 help
458 Include a manifest which sets the process code page to UTF-8.
459 This also includes details from the standard application manifest.
460 Users who enable this may also wish to enable FEATURE_UTF8_INPUT
461 and/or FEATURE_UTF8_OUTPUT.
462
463endchoice
464
465config FEATURE_ICON
466 bool "Include application icon in binary"
467 default y
468 depends on FEATURE_RESOURCES
469 help
470 Microsoft Windows applications can contain icons which are used in
471 various places in the user interface. Each icon adds 15 Kbytes to
472 the size of the binary.
473
474choice
475 prompt "Application icon"
476 default FEATURE_ICON_ALL
477 depends on FEATURE_ICON
478
479config FEATURE_ICON_ATERM
480 bool "Adwaita terminal"
481
482config FEATURE_ICON_STERM
483 bool "Adwaita terminal (symbolic)"
484
485config FEATURE_ICON_ALL
486 bool "All available icons"
487
488endchoice
489
490config FEATURE_EURO
491 bool "Support the euro currency symbol"
492 default y
493 depends on PLATFORM_MINGW32
494 help
495 Support the entry and display of the euro currency symbol. This
496 requires the OEM code page to be 858. If the OEM code page of
497 the console is 850 when BusyBox starts it's changed to 858.
498
499config FEATURE_UTF8_INPUT
500 bool "Allow UTF8 console input (0.8 kb)"
501 default n
502 depends on PLATFORM_MINGW32
503 help
504 Allow characters entered in the console to be encoded as UTF8.
505 This may be useful in conjunction with the UTF8 manifest which
506 is supported in Window 10 and 11.
507
508config FEATURE_UTF8_OUTPUT
509 bool "Allow UTF8 console output"
510 default n
511 depends on PLATFORM_MINGW32 && FEATURE_UTF8_MANIFEST
512 help
513 Print UTF8 output correctly even if the console (output) codepage
514 is not UTF8.
515 This may be useful in conjunction with the UTF8 manifest which
516 is supported in Window 10 and 11.
517
518config TERMINAL_MODE
519 int "Default setting for terminal mode"
520 default 5
521 range 0 5
522 depends on PLATFORM_MINGW32
523 help
524 Set the default input/output modes of the Windows console/terminal.
525 Possible values are:
526
527 0 Force console mode.
528 1 Force virtual terminal mode for output.
529 2 Force virtual terminal mode for input.
530 3 Force virtual terminal mode for input and output.
531
532 4 Support virtual terminal input if enabled. Don't alter mode.
533 5 Support virtual terminal input if enabled. Set virtual terminal
534 mode for output, if possible.
535
536 Values 0-3 are for testing only. The default is 5. The environment
537 variable BB_TERMINAL_MODE overrides this.
538
539config FEATURE_IMPROVED_COLOUR_MAPPING
540 bool "More accurate colour mapping for ANSI emulation (0.6 kb)"
541 default y
542 depends on PLATFORM_MINGW32
543 help
544 Use a more accurate technique to map RGB colours to the standard
545 Windows console colours.
546
547config FEATURE_EXTRA_FILE_DATA
548 bool "Read additional file metadata (2.7 kb)"
549 default y
550 depends on PLATFORM_MINGW32
551 help
552 Read additional file metadata: device id, inode number and number
553 of hard links. This may slow down some file operations but it
554 permits extra features such as warning of attempts to copy a file
555 onto itself or to store a tar archive in itself. Also try to
556 determine the ownership of files so that, for example, 'ls' can
557 distinguish files belonging to the current user.
558
559config OVERRIDE_APPLETS
560 string "Override applets"
561 default ""
562 depends on PLATFORM_MINGW32 && (FEATURE_PREFER_APPLETS || FEATURE_SH_STANDALONE)
563 help
564 A list of applets to be ignored in standalone shell mode. The
565 format is the same as that used by the BB_OVERRIDE_APPLETS
566 environment variable. BB_OVERRIDE_APPLETS is checked first, if it
567 allows the applet and this list is non-empty it is checked too.
568
371comment 'Build Options' 569comment 'Build Options'
372 570
373config STATIC 571config STATIC
@@ -491,6 +689,18 @@ config CROSS_COMPILER_PREFIX
491 689
492 Native builds leave this empty. 690 Native builds leave this empty.
493 691
692config HOST_COMPILER
693 string "Host compiler"
694 default "gcc"
695 help
696 Name of the compiler to use for host binaries.
697
698config CROSS_COMPILER
699 string "Cross compiler"
700 default "gcc"
701 help
702 Name of the compiler to use for cross compilation.
703
494config SYSROOT 704config SYSROOT
495 string "Path to sysroot" 705 string "Path to sysroot"
496 default "" 706 default ""