Fixed uci compile errors (#220)
* Fixed UCI=1 compile ld: warning: directory not found for option \-L/usr/local/lib,-luci' Signed-off-by: Patrick Grimm <patrick@lunatiki.de> * Fixed bsd compile error ld: unknown option: --gc-sections Signed-off-by: Patrick Grimm <patrick@lunatiki.de> * Revert "Fixed bsd compile error ld: unknown option: --gc-sections" This reverts commit e186e396dadb1875018de8b0e738c05b04c8f7d7. * Fixed UCI=1 Undefined symbols "_ucix_init" for bacserv Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
This commit is contained in:
@@ -100,6 +100,12 @@ BACNET_BASIC_SRC ?= \
|
||||
$(BACNET_SRC_DIR)/bacnet/basic/npdu/s_router.c \
|
||||
$(BACNET_SRC_DIR)/bacnet/basic/tsm/tsm.c
|
||||
|
||||
# build in uci integration - use UCI=1 when invoking make
|
||||
ifeq (${UCI},1)
|
||||
BACNET_BASIC_SRC += \
|
||||
$(wildcard $(BACNET_SRC_DIR)/bacnet/basic/ucix/*.c)
|
||||
endif
|
||||
|
||||
SRCS := $(BACNET_SRC) $(BACNET_BASIC_SRC) $(BACNET_PORT_SRC)
|
||||
|
||||
OBJS = ${SRCS:.c=.o}
|
||||
|
||||
Reference in New Issue
Block a user