1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-26 23:35:52 +08:00

fix uci lib and include dir

This commit is contained in:
Patrick Grimm 2016-10-30 22:45:50 +01:00
parent b9bb161ade
commit 050ef0afad
2 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,7 @@ 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
#UCI_INCLUDE_DIR ?= /usr/local/include
#BACDL_DEFINE=-DBACDL_ETHERNET=1
#BACDL_DEFINE=-DBACDL_ARCNET=1

View File

@ -24,7 +24,7 @@ INCLUDES = $(INCLUDE1) $(INCLUDE2)
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
BACNET_LIB := $(BACNET_LIB),-L$(UCI_LIB_DIR),-luci
endif
# OS specific builds
ifeq (${BACNET_PORT},linux)
@ -112,4 +112,3 @@ router:
router-ipv6:
$(MAKE) -b -C router-ipv6