aboutsummaryrefslogtreecommitdiff
path: root/package/coreutils/coreutils.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-10 22:44:04 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-13 23:53:15 +0200
commit652ad4678a3d9172b94b8a06844ccbfd5969c8c5 (patch)
tree8383a137b2bb7a4b4a1ff78da7e7e7cb07dbcee2 /package/coreutils/coreutils.mk
parentdcd762c0f99c56e3f9a8d894f5096741ead45506 (diff)
downloadbuildroot-652ad4678a3d9172b94b8a06844ccbfd5969c8c5.tar.gz
buildroot-652ad4678a3d9172b94b8a06844ccbfd5969c8c5.tar.bz2
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>
Diffstat (limited to 'package/coreutils/coreutils.mk')
-rw-r--r--package/coreutils/coreutils.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 07a1347789..e6af7e297b 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -57,6 +57,7 @@ COREUTILS_CONF_ENV = ac_cv_c_restrict=no \
gl_cv_func_working_mkstemp=yes \
gl_cv_func_working_utimes=yes \
gl_getline_needs_run_time_check=no \
+ gl_cv_have_proc_uptime=yes \
utils_cv_localtime_cache=no \
PERL=missing