![Fabrice Fontaine](/assets/img/avatar_default.png)
Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
800 B
Makefile
30 lines
800 B
Makefile
################################################################################
|
|
#
|
|
# drbd-utils
|
|
#
|
|
################################################################################
|
|
|
|
DRBD_UTILS_VERSION = 9.11.0
|
|
DRBD_UTILS_SITE = http://www.linbit.com/downloads/drbd/utils
|
|
DRBD_UTILS_LICENSE = GPL-2.0+
|
|
DRBD_UTILS_LICENSE_FILES = COPYING
|
|
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))
|