build system: -fno-builtin-printf
[oweals/busybox.git] / Config.in
index 38d4ebc2606dc488a7d1feff01169a42b219b625..11371c783d1a706848dcaec65d26115defd8cbf0 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -264,6 +264,19 @@ config PAM
          Use PAM in some busybox applets (currently login and httpd) instead
          of direct access to password database.
 
          Use PAM in some busybox applets (currently login and httpd) instead
          of direct access to password database.
 
+config FEATURE_USE_SENDFILE
+       bool "Use sendfile system call"
+       default y
+       select PLATFORM_LINUX
+       help
+         When enabled, busybox will use the kernel sendfile() function
+         instead of read/write loops to copy data between file descriptors
+         (for example, cp command does this a lot).
+         If sendfile() doesn't work, copying code falls back to read/write
+         loop. sendfile() was originally implemented for faster I/O
+         from files to sockets, but since Linux 2.6.33 it was extended
+         to work for many more file types.
+
 config LONG_OPTS
        bool "Support for --long-options"
        default y
 config LONG_OPTS
        bool "Support for --long-options"
        default y
@@ -423,10 +436,7 @@ config SELINUX
          the option of compiling in SELinux applets.
 
          If you do not have a complete SELinux userland installed, this stuff
          the option of compiling in SELinux applets.
 
          If you do not have a complete SELinux userland installed, this stuff
-         will not compile. Go visit
-               http://www.nsa.gov/selinux/index.html
-         to download the necessary stuff to allow busybox to compile with
-         this option enabled. Specifially, libselinux 1.28 or better is
+         will not compile.  Specifially, libselinux 1.28 or better is
          directly required by busybox. If the installation is located in a
          non-standard directory, provide it by invoking make as follows:
                CFLAGS=-I<libselinux-include-path> \
          directly required by busybox. If the installation is located in a
          non-standard directory, provide it by invoking make as follows:
                CFLAGS=-I<libselinux-include-path> \
@@ -504,6 +514,14 @@ config PIE
 
          Most people will leave this set to 'N'.
 
 
          Most people will leave this set to 'N'.
 
+config LINK_WITH_PTHREAD
+       bool "Link with pthread library"
+       default n
+       help
+         On some systems, some libraries (such as crypt) also require pthread.
+
+         Select this only if your build otherwise fails.
+
 config NOMMU
        bool "Force NOMMU build"
        default n
 config NOMMU
        bool "Force NOMMU build"
        default n
@@ -678,6 +696,14 @@ config DEBUG_PESSIMIZE
          in a much bigger executable that more closely matches the source
          code.
 
          in a much bigger executable that more closely matches the source
          code.
 
+config UNIT_TEST
+       bool "Build unit tests"
+       default n
+       help
+         Say Y here if you want to build unit tests (both the framework and
+         test cases) as a Busybox applet. This results in bigger code, so you
+         probably don't want this option in production builds.
+
 config WERROR
        bool "Abort compilation on any warning"
        default n
 config WERROR
        bool "Abort compilation on any warning"
        default n