mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
651 B
Makefile
20 lines
651 B
Makefile
OPENTHREAD_DIR = $(RIOTBASE)/pkg/openthread
|
|
|
|
INCLUDES += -I$(PKGDIRBASE)/openthread/include
|
|
INCLUDES += -I$(OPENTHREAD_DIR)/include
|
|
|
|
ifneq (,$(filter openthread_contrib,$(USEMODULE)))
|
|
DIRS += $(OPENTHREAD_DIR)/contrib
|
|
DIRS += $(OPENTHREAD_DIR)/contrib/netdev
|
|
endif
|
|
|
|
ifneq (,$(filter cortex-m0% cortex-m3%,$(CPU_CORE)))
|
|
# 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
|
|
|
|
ARCHIVES += $(addprefix $(BINDIR)/,$(addsuffix .a,$(filter openthread-%,$(USEMODULE))))
|
|
ARCHIVES += $(BINDIR)/mbedcrypto.a
|
|
ARCHIVES += $(BINDIR)/mbedtls.a
|