tools/flatc: don't clone flatbuffers in the global pkg dir

When building with make -j, flatbuffers is cloned by both the flatc build and the regular package build and from time to time a concurrency issue make the build to fail. Keeping regular flatbuffer package and flatc tool sources separate avoid this issue
This commit is contained in:
Alexandre Abadie 2020-06-28 11:16:12 +02:00
parent d687ed4a5a
commit 86fb4a5685
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -6,8 +6,8 @@ PKG_LICENSE=Apache2.0
# manually set some RIOT env vars, so this Makefile can be called stand-alone
RIOTBASE ?= $(CURDIR)/../../..
RIOTTOOLS ?= $(CURDIR)/..
PKGDIRBASE ?= $(RIOTBASE)/build/pkg
PKG_BUILD_DIR ?= $(CURDIR)/bin
PKG_SOURCE_DIR ?= $(CURDIR)/bin
PKG_BUILD_DIR ?= $(CURDIR)/bin/build
CMAKE_OPTIONS = \
-DCMAKE_BUILD_TYPE=Release \