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