6ecbce2212
Building docs requires dblatex with a working Jade Wrapper (jw) which may well be missing on the build machine, and we do not build our own. Since docs are anyway removed from the target, just do not build them. Tell ./configure that we do not have the required tools: - DBLATEX=no to disable PDF generation - DOCBOOK2X_MAN=no, DOCBOOK2MAN=no and DB2X_DOCBOOK2MAN=no to disable manpage generation Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
902 B
Makefile
32 lines
902 B
Makefile
################################################################################
|
|
#
|
|
# nftables
|
|
#
|
|
################################################################################
|
|
|
|
NFTABLES_VERSION = 0.4
|
|
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
|
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
|
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl readline host-bison host-flex \
|
|
host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
|
|
NFTABLES_LICENSE = GPLv2
|
|
NFTABLES_LICENSE_FILES = COPYING
|
|
|
|
NFTABLES_LIBS = -lncurses
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
|
NFTABLES_LIBS += -ljansson -lm
|
|
endif
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
|
|
NFTABLES_LIBS += -lmxml -lpthread
|
|
endif
|
|
|
|
NFTABLES_CONF_ENV = \
|
|
ac_cv_prog_CONFIG_PDF=no \
|
|
LIBS="$(NFTABLES_LIBS)" \
|
|
DBLATEX=no \
|
|
DOCBOOK2X_MAN=no \
|
|
DOCBOOK2MAN=no \
|
|
DB2X_DOCBOOK2MAN=no
|
|
|
|
$(eval $(autotools-package))
|