diff --git a/pkg/nimble/Makefile b/pkg/nimble/Makefile index b3d6ecae26..dab4397603 100644 --- a/pkg/nimble/Makefile +++ b/pkg/nimble/Makefile @@ -50,9 +50,6 @@ nimble_host_util: nimble_host_store_ram: $(QQ)"$(MAKE)" -C $(PDIR)/nimble/host/store/ram/src/ -f $(RIOTBASE)/Makefile.base MODULE=$@ -nimble_tinycrypt: - $(QQ)"$(MAKE)" -C $(PDIR)/ext/tinycrypt/src/ -f $(RIOTBASE)/Makefile.base MODULE=$@ - # service implementations nimble_svc_gap: $(QQ)"$(MAKE)" -C $(PDIR)/nimble/host/services/gap/src/ -f $(RIOTBASE)/Makefile.base MODULE=$@ diff --git a/pkg/nimble/Makefile.dep b/pkg/nimble/Makefile.dep index 07d4caf282..7838963614 100644 --- a/pkg/nimble/Makefile.dep +++ b/pkg/nimble/Makefile.dep @@ -35,8 +35,8 @@ endif # include host dependencies ifneq (,$(filter nimble_host,$(USEMODULE))) USEMODULE += nimble_host_util - USEMODULE += nimble_tinycrypt USEMODULE += nimble_host_store_ram + USEPKG += tinycrypt endif # nimble controller dependencies diff --git a/pkg/nimble/Makefile.include b/pkg/nimble/Makefile.include index 8c1beee09b..2784227228 100644 --- a/pkg/nimble/Makefile.include +++ b/pkg/nimble/Makefile.include @@ -39,11 +39,6 @@ ifneq (,$(filter nimble_host_util,$(USEMODULE))) INCLUDES += $(NIMIBASE)/nimble/host/util/include endif -# include tinycrypt headers -ifneq (,$(filter nimble_controller,$(USEMODULE))) - INCLUDES += $(NIMIBASE)/ext/tinycrypt/include -endif - # include transport headers ifneq (,$(filter nimble_transport_ram,$(USEMODULE))) INCLUDES += $(NIMIBASE)/nimble/transport/ram/include