initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_LIBUBOX
|
||||
bool "libubox"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
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.
|
||||
|
||||
https://openwrt.org/docs/techref/libubox
|
||||
|
||||
comment "libubox needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 54f65299439dab4be8f203588bcefd9b60052ae87d12c6d012f6278a2a111b4e libubox-d716ac4bc4236031d4c3cc1ed362b502e20e3787-br1.tar.gz
|
||||
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# libubox
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBUBOX_VERSION = d716ac4bc4236031d4c3cc1ed362b502e20e3787
|
||||
LIBUBOX_SITE = https://git.openwrt.org/project/libubox.git
|
||||
LIBUBOX_SITE_METHOD = git
|
||||
LIBUBOX_LICENSE = ISC, BSD-3-Clause
|
||||
LIBUBOX_INSTALL_STAGING = YES
|
||||
LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c)
|
||||
|
||||
ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
|
||||
LIBUBOX_DEPENDENCIES += lua
|
||||
LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \
|
||||
-DLUAPATH=/usr/lib/lua/5.1 \
|
||||
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
||||
else
|
||||
LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user