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 \