ddd006784c
libiscsi uses cunit for its test suite, and autodetects its presence. Usually, we just try to disable tests altogether, but there is no way to do so. So, ensure proper ordering. Note: there is an ac_cv_have_cunit variable, but it is not a true ac_cv* cache variable, and the value provided on the command line or environment is properly ignored. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
776 B
Makefile
27 lines
776 B
Makefile
################################################################################
|
|
#
|
|
# libiscsi
|
|
#
|
|
################################################################################
|
|
|
|
LIBISCSI_VERSION = 1.18.0
|
|
LIBISCSI_SITE = $(call github,sahlberg,libiscsi,$(LIBISCSI_VERSION))
|
|
LIBISCSI_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt
|
|
LIBISCSI_INSTALL_STAGING = YES
|
|
LIBISCSI_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_CUNIT),y)
|
|
LIBISCSI_DEPENDENCIES += cunit
|
|
endif
|
|
|
|
LIBISCSI_CONF_OPTS = --disable-werror --disable-manpages
|
|
|
|
# We need to create the m4 directory to make autoreconf work properly.
|
|
define LIBISCSI_CREATE_M4_DIR
|
|
mkdir -p $(@D)/m4
|
|
endef
|
|
LIBISCSI_POST_PATCH_HOOKS += LIBISCSI_CREATE_M4_DIR
|
|
|
|
$(eval $(autotools-package))
|