2206a0c0a7
Also... - Switch to GitHub. - Remove LD=CC logic in libscsi.mk. This is now handled by the configure script. - Add patch to fix unsafe include paths issues. This patch has been sent upstream as a pull request. - Use a hook to create the m4 directory so autoreconf doesn't fail. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
648 B
Makefile
21 lines
648 B
Makefile
################################################################################
|
|
#
|
|
# libiscsi
|
|
#
|
|
################################################################################
|
|
|
|
LIBISCSI_VERSION = 1.18.0
|
|
LIBISCSI_SITE = $(call github,sahlberg,libiscsi,$(LIBISCSI_VERSION))
|
|
LIBISCSI_LICENSE = GPLv2+, LGPLv2.1+
|
|
LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt
|
|
LIBISCSI_INSTALL_STAGING = YES
|
|
LIBISCSI_AUTORECONF = YES
|
|
|
|
# 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))
|