[oe-commits] [openembedded-core] 31/49: site/common-linux: coreutils: get the uptime program to work
git at git.openembedded.org
git at git.openembedded.org
Thu Feb 15 21:51:53 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 961d88841bbac1dec83a3e06ebdad113ef5333c7
Author: Sean Nyekjaer <sean.nyekjaer at prevas.dk>
AuthorDate: Mon Feb 12 10:41:17 2018 +0100
site/common-linux: coreutils: get the uptime program to work
coreutils configure script needs to know whether /proc/uptime is
available, but this is not possible in a cross-compilation
context. This leads to an uptime program that fails to work on the
target, as it has been compiled without /proc/uptime reading support.
This commit fixes that by telling coreutils at configure time that
/proc/uptime will be available on the target (which seems to be a
reasonable assumption on Linux systems).
This commit is made with great inspiration from Thomas Petazzoni's
patch to buildroot to fix the same issue.
Signed-off-by: Sean Nyekjaer <sean.nyekjaer at prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/site/common-linux | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 2958716..71ec961 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -48,6 +48,7 @@ hw_cv_func_vsnprintf_c99=${hw_cv_func_vsnprintf_c99=yes}
# coreutils
gl_cv_func_fstatat_zero_flag=${gl_cv_func_fstatat_zero_flag=yes}
+gl_cv_have_proc_uptime=${gl_cv_have_proc_uptime=yes}
# mysql
ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list