dec494f9f5
host-nfs-utils provides the host rpcgen utility. This fixes the build on recent Fedora systems that removed rpcgen from the glibc package. Fixes: http://autobuild.buildroot.net/results/383/383bc8462f32a226645c9b792b8d65a25d74529d/ http://autobuild.buildroot.net/results/0c0/0c00f72512754b721813e13f0828d3a942f7b955/ http://autobuild.buildroot.net/results/50b/50b66d2a3c8264f618d7aa813b10050ed147209f/ Cc: Jonathan Ben Avraham <yba@tkos.co.il> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# autofs
|
|
#
|
|
################################################################################
|
|
|
|
AUTOFS_VERSION = 5.1.4
|
|
AUTOFS_SOURCE = autofs-$(AUTOFS_VERSION).tar.xz
|
|
AUTOFS_SITE = $(BR2_KERNEL_MIRROR)/linux/daemons/autofs/v5
|
|
AUTOFS_LICENSE = GPL-2.0+
|
|
AUTOFS_LICENSE_FILES = COPYING COPYRIGHT
|
|
AUTOFS_DEPENDENCIES = host-flex host-bison host-pkgconf host-nfs-utils
|
|
|
|
# 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_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,
|
|
# which we have to override with --with-path.
|
|
AUTOFS_CONF_OPTS = \
|
|
--disable-mount-locking \
|
|
--enable-ignore-busy \
|
|
--without-openldap \
|
|
--without-sasl \
|
|
--with-path="$(BR_PATH)" \
|
|
--with-hesiod=no
|
|
|
|
AUTOFS_MAKE_ENV = DONTSTRIP=1
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
AUTOFS_CONF_OPTS += --with-libtirpc
|
|
AUTOFS_DEPENDENCIES += libtirpc
|
|
else
|
|
AUTOFS_CONF_OPTS += --without-libtirpc
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|