e8e20c8022
Drop upstream patches. Renumber remaining patches. Add a revert of upstream patch to fix static build. Upstream pull request (#141) is pending. Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
30 lines
773 B
Makefile
30 lines
773 B
Makefile
################################################################################
|
|
#
|
|
# libnl
|
|
#
|
|
################################################################################
|
|
|
|
LIBNL_VERSION = 3.3.0
|
|
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 Makefile.am
|
|
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))
|