2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-07-26 21:08:51 +02:00
|
|
|
#
|
|
|
|
# libnl
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-07-26 21:08:51 +02:00
|
|
|
|
2019-10-06 15:58:39 +02:00
|
|
|
LIBNL_VERSION = 3.5.0
|
2015-04-14 13:07:48 +02:00
|
|
|
LIBNL_SITE = https://github.com/thom311/libnl/releases/download/libnl$(subst .,_,$(LIBNL_VERSION))
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBNL_LICENSE = LGPL-2.1+
|
2012-09-07 06:48:48 +02:00
|
|
|
LIBNL_LICENSE_FILES = COPYING
|
2021-04-20 22:11:32 +02:00
|
|
|
LIBNL_CPE_ID_VENDOR = libnl_project
|
|
|
|
|
2009-07-26 21:08:51 +02:00
|
|
|
LIBNL_INSTALL_STAGING = YES
|
2017-03-12 18:18:06 +01:00
|
|
|
LIBNL_DEPENDENCIES = host-bison host-flex host-pkgconf
|
2009-07-26 21:08:51 +02:00
|
|
|
|
2013-11-02 11:26:25 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNL_TOOLS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNL_CONF_OPTS += --enable-cli
|
2013-11-02 11:26:25 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNL_CONF_OPTS += --disable-cli
|
2012-05-14 04:29:58 +02:00
|
|
|
endif
|
|
|
|
|
2017-03-12 18:18:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_CHECK),y)
|
|
|
|
LIBNL_DEPENDENCIES += check
|
|
|
|
LIBNL_CONF_OPTS += --enable-unit-tests
|
|
|
|
else
|
|
|
|
LIBNL_CONF_OPTS += --disable-unit-tests
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|