Initial Commit
- initial default booting image
This commit is contained in:
16
package/libubox/Config.in
Normal file
16
package/libubox/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_LIBUBOX
|
||||
bool "libubox"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
|
||||
select BR2_PACKAGE_JSON_C
|
||||
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
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
2
package/libubox/libubox.hash
Normal file
2
package/libubox/libubox.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c4432d4f902bd0a2974d3fe76620bbb5e04b9d52e55701829aa12507651bc4d9 libubox-ecddb31dc34d89be5c9dc4595a4c58070eb090e4-git4.tar.gz
|
||||
23
package/libubox/libubox.mk
Normal file
23
package/libubox/libubox.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# libubox
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBUBOX_VERSION = ecddb31dc34d89be5c9dc4595a4c58070eb090e4
|
||||
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 = 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