1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 06:32:44 +01:00
RIOT/dist/tools/edbg/Makefile

17 lines
514 B
Makefile
Raw Normal View History

2017-05-19 00:28:19 +02:00
PKG_NAME=edbg
PKG_URL=https://github.com/ataradov/edbg
PKG_VERSION=a59b16ea18ea095135362035dcfd990ca1dd3af2
2017-05-19 00:28:19 +02:00
PKG_LICENSE=BSD-3-Clause
PKG_BUILDDIR=$(CURDIR)/bin
.PHONY: all
all: git-download
# Start edbg build in a clean environment, so variables set by RIOT's build process
2018-02-25 23:02:25 +01:00
# for cross compiling a specific target platform are reset and edbg can
# be built cleanly for the native platform.
env -i PATH=$(PATH) TERM=$(TERM) "$(MAKE)" -C $(PKG_BUILDDIR)
2017-05-19 00:28:19 +02:00
mv $(PKG_BUILDDIR)/edbg .
include $(RIOTBASE)/pkg/pkg.mk