2017-05-19 01:02:19 +02:00
|
|
|
OPENTHREAD_DIR = $(RIOTBASE)/pkg/openthread
|
|
|
|
|
2021-10-03 14:42:48 +02:00
|
|
|
INCLUDES += -I$(PKGDIRBASE)/openthread/include
|
|
|
|
INCLUDES += -I$(OPENTHREAD_DIR)/include
|
2017-05-19 01:02:19 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter openthread_contrib,$(USEMODULE)))
|
|
|
|
DIRS += $(OPENTHREAD_DIR)/contrib
|
|
|
|
DIRS += $(OPENTHREAD_DIR)/contrib/netdev
|
|
|
|
endif
|
2018-08-07 16:28:56 +02:00
|
|
|
|
2020-06-10 13:11:32 +02:00
|
|
|
ifneq (,$(filter cortex-m0% cortex-m3%,$(CPU_CORE)))
|
2018-08-07 16:28:56 +02:00
|
|
|
# There are problem with unused `-mcpu...` arguments in clang and with
|
|
|
|
# ranlib + LLVM/clang in this package with Cortex-M0 and M3
|
|
|
|
TOOLCHAINS_BLACKLIST += llvm
|
|
|
|
endif
|
2020-08-10 14:45:39 +02:00
|
|
|
|
|
|
|
ARCHIVES += $(addprefix $(BINDIR)/,$(addsuffix .a,$(filter openthread-%,$(USEMODULE))))
|
|
|
|
ARCHIVES += $(BINDIR)/mbedcrypto.a
|
2021-10-03 14:42:48 +02:00
|
|
|
ARCHIVES += $(BINDIR)/mbedtls.a
|