initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_LIBUCI
|
||||
bool "libuci"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBUBOX
|
||||
help
|
||||
This library originates from the OpenWrt project to
|
||||
handle the configuration file infrastructure, but can
|
||||
also be used for the same purposes in projects other
|
||||
than OpenWrt.
|
||||
|
||||
This package will also install CLI tool uci.
|
||||
|
||||
https://openwrt.org/docs/techref/uci
|
||||
|
||||
comment "libuci needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 4b4e3ef9c9f51c02a1985c63ff0e8fc1f3aafdf24491247a4dc33c993c3fa1ea libuci-4b3db1179747b6a6779029407984bacef851325c-br1.tar.gz
|
||||
sha256 39e1cc18a36172fb80d9b37f0af77d78ae935bd8a020978a7895d9e76a24e112 cli.c
|
||||
sha256 69d4eea4de19d27014f3d6ed723081b4039700bfd73cd0a5e39e2c4f19a58c66 libuci.c
|
||||
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# libuci
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBUCI_VERSION = 4b3db1179747b6a6779029407984bacef851325c
|
||||
LIBUCI_SITE = https://git.openwrt.org/project/uci.git
|
||||
LIBUCI_SITE_METHOD = git
|
||||
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
|
||||
LIBUCI_LICENSE_FILES = cli.c libuci.c
|
||||
LIBUCI_CPE_ID_VENDOR = openwrt
|
||||
LIBUCI_INSTALL_STAGING = YES
|
||||
LIBUCI_DEPENDENCIES = libubox
|
||||
|
||||
# Fixed in commit 19e29ffc15dbd958e8e6a648ee0982c68353516f, older than LIBUCI_VERSION
|
||||
LIBUCI_IGNORE_CVES += CVE-2019-15513
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
||||
LIBUCI_DEPENDENCIES += lua
|
||||
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
|
||||
-DLUAPATH=/usr/lib/lua/5.1 \
|
||||
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
||||
LIBUCI_LICENSE += , GPL-2.0 (lua bindings)
|
||||
else
|
||||
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user