85f2e13c63
Since version 20160414 SCTP support is optional. Introduce an automatic optional dependency for this protocol. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
552 B
Makefile
20 lines
552 B
Makefile
################################################################################
|
|
#
|
|
# cannelloni
|
|
#
|
|
################################################################################
|
|
|
|
CANNELLONI_VERSION = 20160414
|
|
CANNELLONI_SITE = $(call github,mguentner,cannelloni,$(CANNELLONI_VERSION))
|
|
CANNELLONI_LICENSE = GPLv2
|
|
CANNELLONI_LICENSE_FILES = gpl-2.0.txt
|
|
|
|
ifeq ($(BR2_PACKAGE_LKSCTP_TOOLS),y)
|
|
CANNELLONI_CONF_OPTS += -DSCTP_SUPPORT=ON
|
|
CANNELLONI_DEPENDENCIES += lksctp-tools
|
|
else
|
|
CANNELLONI_CONF_OPTS += -DSCTP_SUPPORT=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|