aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-12-04 18:25:37 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 18:00:22 +0000
commit94ce5d25cad7d81b979218a40cdf15be26a7aae5 (patch)
tree266a9a9b3e324a8d5d5d8cbeb36202c2775142c5 /meta/recipes-core
parentd4fad8ec23f792b0d20b5d20b51134e643672dce (diff)
downloadopenembedded-core-contrib-94ce5d25cad7d81b979218a40cdf15be26a7aae5.tar.gz
coreutils: add PACKAGECONFIG for single-binary
Add PACKAGECONFIG for single-binray. Disable it by default. When enabled, there would only be one binary file /usr/bin/coreutils, other files like 'ls' are text files containing contents like: #!/usr/bin/coreutils --coreutils-prog-shebang=ls And the size of the rpm package reduces from 849K to 519K. Default to disable this option to keep the traditional behaviour. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.28.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.28.bb b/meta/recipes-core/coreutils/coreutils_8.28.bb
index a98072425c3..8a9e80c49b9 100644
--- a/meta/recipes-core/coreutils/coreutils_8.28.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.28.bb
@@ -46,6 +46,7 @@ PACKAGECONFIG_class-native ??= "xattr"
#
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
+PACKAGECONFIG[single-binary] = "--enable-single-binary,--disable-single-binary,,"
# [ df mktemp base64 gets a special treatment and is not included in this
bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \