updated dectmngr/Makefile for nng

This commit is contained in:
Gustaf Franzen 2025-08-04 14:52:48 +02:00 committed by Yalu Zhang
parent 3c3c1dba70
commit a9612ebfb2

View file

@ -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