mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
Package libtirpc with commit[1] exposes --enable-rpcdb so make it selectable to allow packages that use rpcdb functions to enable it and build correctly. [1]: https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193 Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> [Bernd: move gss comment into if-block] Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libtirpc
|
|
#
|
|
################################################################################
|
|
|
|
LIBTIRPC_VERSION = 1.3.7
|
|
LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2
|
|
LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION)
|
|
LIBTIRPC_LICENSE = BSD-3-Clause
|
|
LIBTIRPC_LICENSE_FILES = COPYING
|
|
LIBTIRPC_CPE_ID_VALID = YES
|
|
|
|
LIBTIRPC_INSTALL_STAGING = YES
|
|
|
|
# getrpcby{number,name} are only provided if 'GQ' is defined
|
|
LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC_GSS),y)
|
|
LIBTIRPC_CONF_ENV += KRB5_CONFIG=$(STAGING_DIR)/usr/bin/krb5-config
|
|
LIBTIRPC_CONF_OPTS += --enable-gssapi
|
|
LIBTIRPC_DEPENDENCIES += libkrb5
|
|
else
|
|
LIBTIRPC_CONF_OPTS += --disable-gssapi
|
|
endif
|
|
HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC_RPCDB),y)
|
|
LIBTIRPC_CONF_OPTS += --enable-rpcdb
|
|
else
|
|
LIBTIRPC_CONF_OPTS += --disable-rpcdb
|
|
endif
|
|
HOST_LIBTIRPC_CONF_OPTS += --disable-rpcdb
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|