1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/openthread/Makefile.include

20 lines
651 B
Makefile
Raw Normal View History

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
2020-06-10 13:11:32 +02:00
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
2021-10-03 14:42:48 +02:00
ARCHIVES += $(BINDIR)/mbedtls.a