diff --git a/dist/tools/flatc/Makefile b/dist/tools/flatc/Makefile index 12985aa3e0..4d645f0c34 100644 --- a/dist/tools/flatc/Makefile +++ b/dist/tools/flatc/Makefile @@ -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 \