kumquat-buildroot/package/coreutils/Config.in
Markus Mayer 7989818466 package/coreutils: allow building as individual binaries
We add configuration option BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES
so that coreutils can be built and installed as individual binaries.
It can be used if the target file system doesn't support symlinks or
symlinks are undesirable.

The approach is modelled after Busybox's similarly named configuration
option.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[Thomas: adjust to previous preparation commits.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-06-20 21:04:19 +02:00

40 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_COREUTILS
bool "coreutils"
depends on BR2_USE_WCHAR
depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
help
All of the basic file/text/shell utilities. These are the
core utilities which are expected to exist on every system.
BusyBox implements many of the most common.
Things like:
- chmod, cp, dd, dir, ls, etc...
- sort, tr, head, tail, wc, etc...
- whoami, who, etc...
http://www.gnu.org/software/coreutils/
if BR2_PACKAGE_COREUTILS
config BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES
bool "Individual binaries"
depends on !BR2_STATIC_LIBS
help
By default (i.e. with this option disabled), coreutils is
installed as a single binary (Busybox style) called
/usr/bin/coreutils, and all core utilities are symbolic
links to this binary.
With this option enabled, each utility is a separate binary.
comment "coreutils individual binaries need a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
endif
comment "coreutils needs a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS