From: Alexander Kanavin Date: Sun, 17 Sep 2023 09:38:42 +0000 (+0200) Subject: busybox: enable 64 bit shell arithmetic (via long long type) X-Git-Tag: yocto-5.2~5170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8165c980338d4719004bf62644e0fe24ef309fe0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git busybox: enable 64 bit shell arithmetic (via long long type) This matters on 32 bit systems where otherwise timestamp manipulation in shell scripts would overflow after 2038. One of the scripts in strace test suite exposed the issue. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig index 3d36447c63e..f3d545dc3fb 100644 --- a/meta/recipes-core/busybox/busybox/defconfig +++ b/meta/recipes-core/busybox/busybox/defconfig @@ -1190,7 +1190,7 @@ CONFIG_ASH_CMDCMD=y # Options common to all shells # CONFIG_FEATURE_SH_MATH=y -# CONFIG_FEATURE_SH_MATH_64 is not set +CONFIG_FEATURE_SH_MATH_64=y CONFIG_FEATURE_SH_MATH_BASE=y CONFIG_FEATURE_SH_EXTRA_QUIET=y # CONFIG_FEATURE_SH_STANDALONE is not set