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:40 +0000 |
commit | c4ca3c4a5c03bf7dd9a97585af382d26b96fdb39 (patch) | |
tree | 52c4b5ffa45a46429762964650c42a892bcf9be9 /meta/recipes-core/bsd-headers | |
parent | feded5fe2755fc6523c235fd6e82a0972e197c08 (diff) | |
download | poky-c4ca3c4a5c03bf7dd9a97585af382d26b96fdb39.tar.gz |
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.
(From OE-Core rev: 199b661c0699eb31df5bc73f2e3dce6a2db4585d)
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/bsd-headers')
0 files changed, 0 insertions, 0 deletions