1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/pkg/openthread/Makefile.include
smlng 506a5a770c pkg/openthread: use predefined env paths
Adapt Makefiles to use already defined environment paths instead
of redefining them.
2018-09-25 17:29:04 +02:00

17 lines
566 B
Makefile

OPENTHREAD_DIR = $(RIOTBASE)/pkg/openthread
INCLUDES += -I$(OPENTHREAD_DIR)/include \
-I$(PKGDIRBASE)/openthread/output/include \
-I$(PKGDIRBASE)/openthread/include/openthread \
ifneq (,$(filter openthread_contrib,$(USEMODULE)))
DIRS += $(OPENTHREAD_DIR)/contrib
DIRS += $(OPENTHREAD_DIR)/contrib/netdev
endif
ifneq (,$(filter cortex-m0% cortex-m3%,$(CPU_ARCH)))
# 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