Patchwork [1/2] busybox: enable CONFIG_FEATURE_AWK_LIBM by default

login
register
mail settings
Submitter Hongxu Jia
Date July 17, 2014, 5:53 a.m.
Message ID <98c3e84cfd89aeaaaa853102374314f63af330bc.1405575611.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/75881/
State Accepted
Commit 8673b60f2646ab7851122147417d4c1024c182d8
Headers show

Comments

Hongxu Jia - July 17, 2014, 5:53 a.m.
It was required by tzselect which is provided by eglibc utils.
The eglibc is a fundamental package, so enable math functions
of awk is reasonable.

Here is the error if we not enable that:
...
root@qemuarm:~# tzselect -c +4852+00220
awk: cmd. line:39: Math support is not compiled in
...

[YOCTO #6544]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index 47eca21..0107231 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -377,7 +377,7 @@  CONFIG_FEATURE_VI_WIN_RESIZE=y
 # CONFIG_FEATURE_VI_ASK_TERMINAL is not set
 CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
 CONFIG_AWK=y
-# CONFIG_FEATURE_AWK_LIBM is not set
+CONFIG_FEATURE_AWK_LIBM=y
 CONFIG_CMP=y
 CONFIG_DIFF=y
 # CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set