mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
For change log, see: https://git.openwrt.org/?p=project/ubus.git;a=shortlog;h=3cc98db1a422dcf560f2d6347fd410f17565a89d This bump includes a patch which adds cmake4 compatibility. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
35 lines
850 B
Makefile
35 lines
850 B
Makefile
################################################################################
|
|
#
|
|
# ubus
|
|
#
|
|
################################################################################
|
|
|
|
UBUS_VERSION = 3cc98db1a422dcf560f2d6347fd410f17565a89d
|
|
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))
|