kumquat-buildroot/package/drbd-utils/drbd-utils.mk
Fabrice Fontaine a73a2d4aff package/drbd-utils: add SELinux module
Support for drbd-utils is added by the services/drbd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-26 22:08:04 +02:00

31 lines
834 B
Makefile

################################################################################
#
# drbd-utils
#
################################################################################
DRBD_UTILS_VERSION = 9.15.0
DRBD_UTILS_SITE = http://www.linbit.com/downloads/drbd/utils
DRBD_UTILS_LICENSE = GPL-2.0+
DRBD_UTILS_LICENSE_FILES = COPYING
DRBD_UTILS_SELINUX_MODULES = drbd
DRBD_UTILS_DEPENDENCIES = host-flex
DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual
ifeq ($(BR2_INIT_SYSTEMD),y)
DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd
DRBD_UTILS_DEPENDENCIES += systemd
else
DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
DRBD_UTILS_CONF_OPTS += --with-udev=yes
DRBD_UTILS_DEPENDENCIES += udev
else
DRBD_UTILS_CONF_OPTS += --with-udev=no
endif
$(eval $(autotools-package))