coreutils: get the uptime program to work
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Sep 2014 20:44:04 +0000 (22:44 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 13 Sep 2014 21:53:15 +0000 (23:53 +0200)
commit652ad4678a3d9172b94b8a06844ccbfd5969c8c5
tree8383a137b2bb7a4b4a1ff78da7e7e7cb07dbcee2
parentdcd762c0f99c56e3f9a8d894f5096741ead45506
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).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/coreutils/coreutils.mk