af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
783 B
Makefile
30 lines
783 B
Makefile
################################################################################
|
|
#
|
|
# drbd-utils
|
|
#
|
|
################################################################################
|
|
|
|
DRBD_UTILS_VERSION = 8.9.4
|
|
DRBD_UTILS_SITE = http://oss.linbit.com/drbd
|
|
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))
|