kumquat-buildroot/package/ubus/ubus.mk
Peter Seiderer 0957cdb1d4 package/ubus: bump version to a72457b
Changelog:

  - 2537be0 cmake: add a possibility to set library version
  - 4becbd6 ubusd: convert tx_queue to linked list
  - c736e47 ubusd: add per-client tx queue limit
  - a8cf678 ubusd: protect against too-short messages
  - 4fc532c ubusd: fix tx_queue linked list usage
  - b743a33 ubusd: log ACL init errors
  - 2099bb3 libubus: use list_empty/list_first_entry in ubus_process_pending_msg
  - ef03848 libubus: process pending messages in data handler if stack depth is 0
  - a72457b libubus: increase stack depth for processing obj msgs

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-10-18 21:24:00 +02:00

42 lines
1000 B
Makefile

################################################################################
#
# ubus
#
################################################################################
UBUS_VERSION = a72457b61df045d3c499a6211362b751710590d7
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))