From c29971e38d91ade93cfeec71daa29b43a3cf0a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Narajowski?= Date: Tue, 8 May 2018 16:17:35 +0200 Subject: [PATCH] porting: Add Mesh files to Makefile --- porting/nimble/Makefile.defs | 4 ++++ porting/nimble/Makefile.mesh | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 porting/nimble/Makefile.mesh diff --git a/porting/nimble/Makefile.defs b/porting/nimble/Makefile.defs index 5b13ba91a..347c10804 100644 --- a/porting/nimble/Makefile.defs +++ b/porting/nimble/Makefile.defs @@ -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) diff --git a/porting/nimble/Makefile.mesh b/porting/nimble/Makefile.mesh new file mode 100644 index 000000000..ef64e214d --- /dev/null +++ b/porting/nimble/Makefile.mesh @@ -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 \