porting: Add Mesh files to Makefile

This commit is contained in:
Michał Narajowski
2018-05-15 14:21:14 +02:00
parent b8a881690f
commit c29971e38d
2 changed files with 29 additions and 0 deletions
+4
View File
@@ -93,4 +93,8 @@ ifneq (,$(NIMBLE_CFG_TINYCRYPT))
include $(NIMBLE_ROOT)/porting/nimble/Makefile.tinycrypt
endif
ifneq (,$(NIMBLE_CFG_MESH))
include $(NIMBLE_ROOT)/porting/nimble/Makefile.mesh
endif
NIMBLE_OBJ := $(NIMBLE_SRC:.c=.o)
+25
View File
@@ -0,0 +1,25 @@
NIMBLE_INCLUDE += \
$(NIMBLE_ROOT)/nimble/host/mesh/include \
NIMBLE_SRC += \
$(NIMBLE_ROOT)/nimble/host/mesh/src/access.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/adv.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/beacon.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/cfg_cli.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/cfg_srv.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/crypto.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/friend.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/glue.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/health_cli.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/health_srv.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/light_model.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/lpn.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/mesh.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/model_cli.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/model_srv.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/net.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/prov.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/proxy.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/shell.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/testing.c \
$(NIMBLE_ROOT)/nimble/host/mesh/src/transport.c \