Added UCI support for the BACnet demo server. UCI is a replacement for nvram. The source is GPL and has a lua lib.
http://wiki.openwrt.org/doc/uci http://nbd.name/gitweb.cgi?p=uci.git;a=summary Thank you, Patrick <patrick@lunatiki.de>.
This commit is contained in:
@@ -21,7 +21,12 @@ BACNET_LIB_TARGET = $(BACNET_LIB_DIR)/lib$(BACNET_LIB_NAME).a
|
||||
INCLUDE1 = -I$(BACNET_PORT_DIR) -I$(BACNET_OBJECT) -I$(BACNET_HANDLER)
|
||||
INCLUDE2 = -I$(BACNET_INCLUDE)
|
||||
INCLUDES = $(INCLUDE1) $(INCLUDE2)
|
||||
BACNET_LIB=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME)
|
||||
BACNET_LIB := -L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME)
|
||||
# build for UCI
|
||||
ifneq (,$(findstring -DBAC_UCI,$(BACNET_DEFINES)))
|
||||
BACNET_LIB = $(BACNET_LIB),-L$(UCI_LIB_DIR),-luci
|
||||
endif
|
||||
# OS specific builds
|
||||
ifeq (${BACNET_PORT},linux)
|
||||
PFLAGS = -pthread
|
||||
TARGET_EXT =
|
||||
|
||||
Reference in New Issue
Block a user