kumquat-buildroot/package/ubus/ubus.mk
Jan Havran 2d1d07c662 package/ubus: remove obsolete systemd option
ENABLE_SYSTEMD option has been removed from ubus by upstream commit:

  96ab0b3032f5 ubusd: remove systemd socket activation support

From a Buildroot perspective, this means that this systemd socket
activation feature no longer exists since Buildroot commit
130be80d34 ("ubus: bump version"), as we
bumped ubus from 259450f414d8c9ee41896e8e6d6bc57ec00e2b63 to
34c6e818e431cc53478a0f7c7c1eca07d194d692 in this commit, and the
96ab0b3032f5 ("ubusd: remove systemd socket activation support")
commit is in this range. It was therefore dropped upstream in 2016,
and in Buildroot in 2017.

Signed-off-by: Jan Havran <havran.jan@email.cz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 60c8807c69be60a8f1c35ed9f992850b009126be)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-07-28 12:05:09 +02:00

35 lines
850 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_UBUS_EXAMPLES),y)
UBUS_CONF_OPTS += -DBUILD_EXAMPLES=ON
else
UBUS_CONF_OPTS += -DBUILD_EXAMPLES=OFF
endif
$(eval $(cmake-package))