Merge pull request #10032 from smlng/pr/pkg/openthread_paths
pkg/openthread: use predefined env paths
This commit is contained in:
commit
161091c44f
@ -1,7 +1,7 @@
|
||||
PKG_NAME=openthread
|
||||
PKG_URL=https://github.com/openthread/openthread.git
|
||||
PKG_VERSION=fbfd76a990b81f007957e1bd774e51bce742e53e
|
||||
PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/$(PKG_NAME)
|
||||
PKG_BUILDDIR ?= $(PKGDIRBASE)/$(PKG_NAME)
|
||||
|
||||
$(info Compile OpenThread for FTD device)
|
||||
OPENTHREAD_ARGS+= --enable-cli-app=ftd --enable-application-coap
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
OPENTHREAD_DIR = $(RIOTBASE)/pkg/openthread
|
||||
|
||||
INCLUDES += -I$(OPENTHREAD_DIR)/include \
|
||||
-I$(BINDIRBASE)/pkg/$(BOARD)/openthread/output/include \
|
||||
-I$(BINDIRBASE)/pkg/$(BOARD)/openthread/include/openthread \
|
||||
-I$(PKGDIRBASE)/openthread/output/include \
|
||||
-I$(PKGDIRBASE)/openthread/include/openthread \
|
||||
|
||||
ifneq (,$(filter openthread_contrib,$(USEMODULE)))
|
||||
DIRS += $(OPENTHREAD_DIR)/contrib
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user