Skip to content
Snippets Groups Projects
Unverified Commit 7ea0ba1a authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #7710 from tfar/sandbox/2017/10/fix-edbg-macos-build

dist/tools/edbg: clear INCLUDES and LINK env vars before building
parents 7c4a2f96 3d0a350e
No related branches found
No related tags found
No related merge requests found
......@@ -4,16 +4,13 @@ PKG_VERSION=76f85abdea212ba23760723cce15e00ca4ae4b76
PKG_LICENSE=BSD-3-Clause
PKG_BUILDDIR=$(CURDIR)/bin
# CC and CXX variables are set by RIOT's build process to cross compiling for
# a specific target platfrom. Thus, we have to unset them to build edgb using
# the system C/C++ compilers - i.e, to avoid conflicts on macOS systems
CC=
CXX=
.PHONY: all
all: git-download
"$(MAKE)" -C $(PKG_BUILDDIR)
# Start edbg build in a clean environment, so variables set by RIOT's build process
# for cross compiling a specific target platfrom are reset and edbg can
# be built cleanly for the native platform.
env -i PATH=$(PATH) TERM=$(TERM) "$(MAKE)" -C $(PKG_BUILDDIR)
mv $(PKG_BUILDDIR)/edbg .
include $(RIOTBASE)/pkg/pkg.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment