bb3ba3d0ea
Changelog: - a0dbcf8 tests: add blob-buffer overflow test - b36a3a9 blob: fix exceeding maximum buffer length - b8abed7 utils.h: add fallthrough macro - b14c468 json_script: fix unannotated fall-through warning - d716ac4 list.h: add a few missing iterator macros Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
706 B
Makefile
24 lines
706 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|