summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Lynch <nathan_lynch@mentor.com>2016-11-17 14:49:51 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:05 +0000
commitf8aca15f75707aaaa0dc87d81f404cc84734d67f (patch)
treed060e3962ce71194c2793515d81ecdd14f3d8ccc
parenta08c78ddd49baecfcc572ff2b49982f3481c81e5 (diff)
downloadpoky-f8aca15f75707aaaa0dc87d81f404cc84734d67f.tar.gz
busybox: enable fractional sleep arguments
Fractional durations (e.g. 0.5s) for the sleep command are useful and not terribly uncommon in practice, especially in scripts associated with test cases (e.g. mdadm, lttng-tools). Enable FEATURE_FLOAT_SLEEP by default in order to avoid having to patch every instance of a script using a fractional sleep. The busybox binary gains a few hundred bytes in text (armv5e shown): $ size -x busybox.nosuid.{before,after} text data bss dec hex filename 0x89382 0x71d 0x2250 572655 8bcef busybox.nosuid.before 0x8954e 0x721 0x2250 573119 8bebf busybox.nosuid.after (From OE-Core rev: 0f53db8a63ed35031b1fcc85057b39ad43c9abd1) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox/defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index c0459d5961..cbdb1391fd 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -279,7 +279,7 @@ CONFIG_SEQ=y
279# CONFIG_SHA3SUM is not set 279# CONFIG_SHA3SUM is not set
280CONFIG_SLEEP=y 280CONFIG_SLEEP=y
281CONFIG_FEATURE_FANCY_SLEEP=y 281CONFIG_FEATURE_FANCY_SLEEP=y
282# CONFIG_FEATURE_FLOAT_SLEEP is not set 282CONFIG_FEATURE_FLOAT_SLEEP=y
283CONFIG_SORT=y 283CONFIG_SORT=y
284CONFIG_FEATURE_SORT_BIG=y 284CONFIG_FEATURE_SORT_BIG=y
285# CONFIG_SPLIT is not set 285# CONFIG_SPLIT is not set