From a9612ebfb27cb8bf2c7d473609fc2b13bfa3808c Mon Sep 17 00:00:00 2001 From: Gustaf Franzen Date: Mon, 4 Aug 2025 14:52:48 +0200 Subject: [PATCH] updated dectmngr/Makefile for nng --- dectmngr/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dectmngr/Makefile b/dectmngr/Makefile index 4c0e5144b..483a21254 100644 --- a/dectmngr/Makefile +++ b/dectmngr/Makefile @@ -27,8 +27,8 @@ include $(INCLUDE_DIR)/package.mk define Package/$(PKG_NAME) CATEGORY:=Utilities - TITLE:=DECT Manager - DEPENDS:= +libubox +ubus +uci +libxml2 +libjson-c +gpiod-tools +voicemngr + TITLE:=DECT Manager + DEPENDS:= +libubox +ubus +uci +libxml2 +libjson-c +gpiod-tools +voicemngr +nng endef define Package/$(PKG_NAME)/description @@ -45,10 +45,16 @@ define Build/Prepare endef endif +DECT_SERVER_COUNT ?= 1 TARGET_CFLAGS += \ -Wall \ - -Werror \ - -I$(STAGING_DIR)/usr/include/libxml2 + -Werror \ + -I$(STAGING_DIR)/usr/include/libxml2 \ + -lnng \ + -lipc \ + $(NNG_DBG_FLAG) \ + -DSERVER_COUNT=$(DECT_SERVER_COUNT) + ifeq ($(CONFIG_ENABLE_LINE_SETTINGS_EXTENSION),y) TARGET_CFLAGS += -DENABLE_LINE_SETTINGS_EXTENSION