diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-30 22:32:47 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-30 22:34:23 +0200 |
commit | 9a9b637d04185f9a5b4c73d663b726d3ce2da43b (patch) | |
tree | 7609248037e3e0f26e441d9dca9496d393466275 /package/autofs/autofs.mk | |
parent | 04c9be519de922cda3e20a00be2fad39b265d398 (diff) | |
download | buildroot-9a9b637d04185f9a5b4c73d663b726d3ce2da43b.tar.gz buildroot-9a9b637d04185f9a5b4c73d663b726d3ce2da43b.zip |
autofs: add patch to force result of procfs check
The autofs configure script verifies on the build system if /proc is
provided by a Linux system. This might fail if /proc is not mounted,
but does ont mean that procfs will not be available in the target.
Therefore, this commit adds a patch improving the AF_LINUX_PROCFS
autoconf macro to allow passing an autoconf cache variable. autofs.mk
then uses that to force the fact that /proc will be available on the
target.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/autofs/autofs.mk')
-rw-r--r-- | package/autofs/autofs.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/autofs/autofs.mk b/package/autofs/autofs.mk index 396cf85fbe..23e683688b 100644 --- a/package/autofs/autofs.mk +++ b/package/autofs/autofs.mk @@ -10,14 +10,16 @@ AUTOFS_SITE = $(BR2_KERNEL_MIRROR)/linux/daemons/autofs/v5 AUTOFS_LICENSE = GPLv2+ AUTOFS_LICENSE_FILES = COPYING COPYRIGHT AUTOFS_DEPENDENCIES = host-flex host-bison -# For 0002-autofs-configure-check-for-clock_gettime-in-librt.patch +# For 0002-autofs-configure-check-for-clock_gettime-in-librt.patch and +# 0003-configure-add-cache-variable-for-Linux-proc-filesyst.patch. AUTOFS_AUTORECONF = YES # autofs looks on the build machine for the path of modprobe, so tell # it explicitly where it will be located on the target. AUTOFS_CONF_ENV = \ ac_cv_path_KRB5_CONFIG=no \ - ac_cv_path_MODPROBE=/sbin/modprobe + ac_cv_path_MODPROBE=/sbin/modprobe \ + ac_cv_linux_procfs=yes # instead of looking in the PATH like any reasonable package, autofs # configure looks only in an hardcoded search path for host tools, |