c4eb3544a0
Changelog: - 66baa44b8dee libubus: introduce new status messages - b3cd5ab4c010 cli: use UBUS_STATUS_PARSE_ERROR - 584f56a23314 cli: improve error logging for call command - 2f793a4eb063 lua: add optional path filter to objects() method - 2bebf93cd334 ubusd: handle invoke on event object without data - 9913aa61de73 ubusd: add lookup command queuing support - f787c97b3489 libubus: add missing uloop_fd_delete call in ubus_shutdown Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
42 lines
1000 B
Makefile
42 lines
1000 B
Makefile
################################################################################
|
|
#
|
|
# ubus
|
|
#
|
|
################################################################################
|
|
|
|
UBUS_VERSION = f787c97b34894a38b15599886cacbca01271684f
|
|
UBUS_SITE = https://git.openwrt.org/project/ubus.git
|
|
UBUS_SITE_METHOD = git
|
|
|
|
UBUS_LICENSE = LGPL-2.1
|
|
UBUS_LICENSE_FILES = ubusd_acl.h
|
|
|
|
UBUS_INSTALL_STAGING = YES
|
|
|
|
UBUS_DEPENDENCIES = json-c libubox
|
|
|
|
# package only compiles with Lua 5.1
|
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
|
UBUS_DEPENDENCIES += lua
|
|
UBUS_CONF_OPTS += -DBUILD_LUA=ON \
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include \
|
|
-DLUAPATH=/usr/lib/lua/$(LUAINTERPRETER_ABIVER)
|
|
else
|
|
UBUS_CONF_OPTS += -DBUILD_LUA=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
UBUS_DEPENDENCIES += systemd
|
|
UBUS_CONF_OPTS += -DENABLE_SYSTEMD=ON
|
|
else
|
|
UBUS_CONF_OPTS += -DENABLE_SYSTEMD=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UBUS_EXAMPLES),y)
|
|
UBUS_CONF_OPTS += -DBUILD_EXAMPLES=ON
|
|
else
|
|
UBUS_CONF_OPTS += -DBUILD_EXAMPLES=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|