diff options
author | Sean Nyekjaer <sean.nyekjaer@prevas.dk> | 2018-02-12 10:41:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-16 18:05:26 +0000 |
commit | 199b661c0699eb31df5bc73f2e3dce6a2db4585d (patch) | |
tree | d57186619060654034cbfcb29eeeb5d596986ec6 /scripts/lib/scriptutils.py | |
parent | ccd1142d22b31ed85d8823b1bc9e11ccfd72b61f (diff) | |
download | openembedded-core-199b661c0699eb31df5bc73f2e3dce6a2db4585d.tar.gz openembedded-core-199b661c0699eb31df5bc73f2e3dce6a2db4585d.tar.bz2 openembedded-core-199b661c0699eb31df5bc73f2e3dce6a2db4585d.zip |
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@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions