################################################################################
################################################################################
AUTOFS_SOURCE = autofs-$(AUTOFS_VERSION).tar.xz
AUTOFS_SITE = $(BR2_KERNEL_MIRROR)/linux/daemons/autofs/v5
AUTOFS_LICENSE_FILES = COPYING COPYRIGHT
AUTOFS_DEPENDENCIES = host-flex host-bison
# For 0002-autofs-configure-check-for-clock_gettime-in-librt.patch
# autofs looks on the build machine for the path of modprobe, so tell
# it explicitly where it will be located on the target.
ac_cv_path_KRB5_CONFIG=no \
ac_cv_path_MODPROBE=/sbin/modprobe
# instead of looking in the PATH like any reasonable package, autofs
# configure looks only in an hardcoded search path for host tools,
# which we have to override with --with-path.
--disable-mount-locking \
--with-path="$(BR_PATH)" \
AUTOFS_MAKE_ENV = DONTSTRIP=1
$(eval $(autotools-package))