initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
comment "libnftnl needs a toolchain w/ headers >= 3.12"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
||||
|
||||
config BR2_PACKAGE_LIBNFTNL
|
||||
bool "libnftnl"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
||||
select BR2_PACKAGE_LIBMNL
|
||||
help
|
||||
libnftnl is a userspace library providing a low-level
|
||||
netlink programming interface (API) to the in-kernel
|
||||
nf_tables subsystem. The library libnftnl has been
|
||||
previously known as libnftables. This library is
|
||||
currently used by nftables.
|
||||
|
||||
http://netfilter.org/projects/libnftnl/index.html
|
||||
|
||||
if BR2_PACKAGE_LIBNFTNL
|
||||
|
||||
config BR2_PACKAGE_LIBNFTNL_JSON
|
||||
bool "enable JSON support"
|
||||
select BR2_PACKAGE_JANSSON
|
||||
help
|
||||
Enable JSON parsing support
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,3 @@
|
||||
# From http://www.netfilter.org/projects/libnftnl/downloads.html
|
||||
sha256 90b01fddfe9be8c3245c3ba5ff5a4424a8df708828f92b2b361976b658c074f5 libnftnl-1.2.0.tar.bz2
|
||||
sha256 98193898c663001eff2fdcfb676e210c13042bc1a05e8d570c363efa396f8e24 COPYING
|
||||
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# libnftnl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNFTNL_VERSION = 1.2.0
|
||||
LIBNFTNL_SITE = https://netfilter.org/projects/libnftnl/files
|
||||
LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2
|
||||
LIBNFTNL_LICENSE = GPL-2.0+
|
||||
LIBNFTNL_LICENSE_FILES = COPYING
|
||||
LIBNFTNL_INSTALL_STAGING = YES
|
||||
LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y)
|
||||
LIBNFTNL_CONF_OPTS += --with-json-parsing
|
||||
LIBNFTNL_DEPENDENCIES += jansson
|
||||
else
|
||||
LIBNFTNL_CONF_OPTS += --without-json-parsing
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user