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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user