2017-05-19 00:28:19 +02:00
|
|
|
PKG_NAME=edbg
|
|
|
|
PKG_URL=https://github.com/ataradov/edbg
|
2017-07-14 23:27:07 +02:00
|
|
|
PKG_VERSION=76f85abdea212ba23760723cce15e00ca4ae4b76
|
2017-05-19 00:28:19 +02:00
|
|
|
PKG_LICENSE=BSD-3-Clause
|
|
|
|
PKG_BUILDDIR=$(CURDIR)/bin
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
|
|
|
all: git-download
|
2017-10-10 19:03:44 +02:00
|
|
|
# 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)
|
2017-05-19 00:28:19 +02:00
|
|
|
mv $(PKG_BUILDDIR)/edbg .
|
|
|
|
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|