762b3f743d
With change 6b7d47be3b23 ("multipath-tools: Makefiles: simplify code for include dirs") the Makefile variable 'LINUX_HEADERS_INCDIR' has been replaced with 'kernel_incdir'. fpin_handlers.c:355:32: note: each undeclared identifier is reported only once for each function it appears in fpin_handlers.c:360:37: error: ‘ELS_DTAG_LNK_INTEGRITY’ undeclared (first use in this function) 360 | if (dtag == ELS_DTAG_LNK_INTEGRITY) { | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [../Makefile.inc:116: fpin_handlers.o] Error 1 Fixes: http://autobuild.buildroot.net/results/e0f56ef924c13d6b1535fdc350ad8ecc06ea0a58 Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# multipath-tools
|
|
#
|
|
################################################################################
|
|
|
|
MULTIPATH_TOOLS_VERSION = 0.9.4
|
|
MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION))
|
|
|
|
MULTIPATH_TOOLS_LICENSE = \
|
|
LGPL-2.0 (default), \
|
|
LGPL-2.1+ (libmpathcmd), \
|
|
GPL-2.0+ (libmultipath), \
|
|
GPL-3.0+ (libdmmp)
|
|
MULTIPATH_TOOLS_LICENSE_FILES = \
|
|
LICENSES/GPL-2.0 \
|
|
LICENSES/GPL-3.0 \
|
|
LICENSES/LGPL-2.0 \
|
|
LICENSES/LGPL-2.1 \
|
|
README.md
|
|
MULTIPATH_TOOLS_CPE_ID_VENDOR = opensvc
|
|
|
|
MULTIPATH_TOOLS_DEPENDENCIES = lvm2 json-c readline udev liburcu libaio host-pkgconf
|
|
MULTIPATH_TOOLS_MAKE_OPTS = \
|
|
kernel_incdir=$(STAGING_DIR)/usr/include \
|
|
LIB="lib" \
|
|
RUN="run" \
|
|
OPTFLAGS="" \
|
|
STACKPROT="" \
|
|
WARNFLAGS=""
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
MULTIPATH_TOOLS_DEPENDENCIES += systemd
|
|
else
|
|
MULTIPATH_TOOLS_MAKE_OPTS += SYSTEMD=""
|
|
endif
|
|
|
|
define MULTIPATH_TOOLS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
$(MULTIPATH_TOOLS_MAKE_OPTS)
|
|
endef
|
|
|
|
define MULTIPATH_TOOLS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \
|
|
$(MULTIPATH_TOOLS_MAKE_OPTS) DESTDIR="$(TARGET_DIR)"
|
|
endef
|
|
|
|
define MULTIPATH_TOOLS_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 755 package/multipath-tools/S60multipathd \
|
|
$(TARGET_DIR)/etc/init.d/S60multipathd
|
|
endef
|
|
|
|
$(eval $(generic-package))
|