30a3e8d108
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
775 B
Makefile
30 lines
775 B
Makefile
################################################################################
|
|
#
|
|
# libnl
|
|
#
|
|
################################################################################
|
|
|
|
LIBNL_VERSION = 3.2.29
|
|
LIBNL_SITE = https://github.com/thom311/libnl/releases/download/libnl$(subst .,_,$(LIBNL_VERSION))
|
|
LIBNL_LICENSE = LGPL-2.1+
|
|
LIBNL_LICENSE_FILES = COPYING
|
|
LIBNL_INSTALL_STAGING = YES
|
|
LIBNL_DEPENDENCIES = host-bison host-flex host-pkgconf
|
|
# Patching configure.ac
|
|
LIBNL_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNL_TOOLS),y)
|
|
LIBNL_CONF_OPTS += --enable-cli
|
|
else
|
|
LIBNL_CONF_OPTS += --disable-cli
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_CHECK),y)
|
|
LIBNL_DEPENDENCIES += check
|
|
LIBNL_CONF_OPTS += --enable-unit-tests
|
|
else
|
|
LIBNL_CONF_OPTS += --disable-unit-tests
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|