blob: 6f50fd6afcd82184165818376c783ce7b06bf3d6 [file] [log] [blame]
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00001################################################################################
Gustavo Zacarias57c2e792009-07-26 21:08:51 +02002#
3# libnl
4#
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00005################################################################################
Gustavo Zacarias57c2e792009-07-26 21:08:51 +02006
Fabrice Fontaine5328e022023-12-30 19:42:10 +01007LIBNL_VERSION = 3.9.0
Gustavo Zacariasbee5ff62015-04-14 08:07:48 -03008LIBNL_SITE = https://github.com/thom311/libnl/releases/download/libnl$(subst .,_,$(LIBNL_VERSION))
Rahul Bedarkar30a3e8d2017-03-30 19:13:34 +05309LIBNL_LICENSE = LGPL-2.1+
Gustavo Zacarias44393cd2012-09-07 04:48:48 +000010LIBNL_LICENSE_FILES = COPYING
Yann E. MORINc19cca02024-02-10 22:24:58 +010011LIBNL_CPE_ID_VALID = YES
Matt Weber56d54112021-04-20 15:11:32 -050012
Gustavo Zacarias57c2e792009-07-26 21:08:51 +020013LIBNL_INSTALL_STAGING = YES
Baruch Siachc358dbd2017-03-12 19:18:06 +020014LIBNL_DEPENDENCIES = host-bison host-flex host-pkgconf
Gustavo Zacarias57c2e792009-07-26 21:08:51 +020015
Thomas Petazzoni250af242013-11-02 11:26:25 +010016ifeq ($(BR2_PACKAGE_LIBNL_TOOLS),y)
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020017LIBNL_CONF_OPTS += --enable-cli
Thomas Petazzoni250af242013-11-02 11:26:25 +010018else
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020019LIBNL_CONF_OPTS += --disable-cli
Gustavo Zacarias4b55a992012-05-14 02:29:58 +000020endif
21
Baruch Siachc358dbd2017-03-12 19:18:06 +020022ifeq ($(BR2_PACKAGE_CHECK),y)
23LIBNL_DEPENDENCIES += check
24LIBNL_CONF_OPTS += --enable-unit-tests
25else
26LIBNL_CONF_OPTS += --disable-unit-tests
27endif
28
Arnout Vandecappelle (Essensium/Mind)e1502eb2012-07-03 00:07:32 +020029$(eval $(autotools-package))