2680f08178
Drop README.md from license files as advocated by Arnout Vandecappelle:
https://patchwork.ozlabs.org/project/buildroot/patch/20240314211117.9103-1-fontaine.fabrice@gmail.com
The only license-related part of README.md is that specifies that the
default license, if not mentioned in the file, is LGPL-2.0. Since the
README file is likely to be updated with every new release, this is a
lot of overhead for such a small added value.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit e511539cd2
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
62 lines
1.4 KiB
Makefile
62 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# multipath-tools
|
|
#
|
|
################################################################################
|
|
|
|
MULTIPATH_TOOLS_VERSION = 0.9.7
|
|
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
|
|
MULTIPATH_TOOLS_CPE_ID_VENDOR = opensvc
|
|
|
|
MULTIPATH_TOOLS_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
json-c \
|
|
liburcu \
|
|
libaio \
|
|
lvm2 \
|
|
readline \
|
|
udev \
|
|
util-linux-libs
|
|
|
|
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))
|