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:
skarg
2013-04-15 20:22:24 +00:00
parent 0c963ecc30
commit 15cb616b4a
8 changed files with 279 additions and 7 deletions
+6 -2
View File
@@ -17,6 +17,10 @@ MY_BACNET_DEFINES += -DBACFILE
MY_BACNET_DEFINES += -DINTRINSIC_REPORTING
BACNET_DEFINES ?= $(MY_BACNET_DEFINES)
# un-comment the next line to build in uci integration
#BACNET_DEFINES += -DBAC_UCI
#UCI_LIB_DIR ?= /usr/local/lib
#BACDL_DEFINE=-DBACDL_ETHERNET=1
#BACDL_DEFINE=-DBACDL_ARCNET=1
#BACDL_DEFINE=-DBACDL_MSTP=1
@@ -34,7 +38,7 @@ MAKE_DEFINE ?=
DEFINES = $(BACNET_DEFINES) $(BACDL_DEFINE) $(BBMD_DEFINE) -DWEAK_FUNC=
DEFINES += $(MAKE_DEFINE)
# BACnet Ports Directory
# BACnet Ports Directory
BACNET_PORT ?= linux
# Default compiler settings
@@ -64,7 +68,7 @@ demos:
$(MAKE) -s -C demo all
gateway:
$(MAKE) -B -s -C demo gateway
$(MAKE) -B -s -C demo gateway
router:
$(MAKE) -s -C demo router