Blame view

RIOT/dist/tools/edbg/Makefile 519 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  PKG_NAME=edbg
  PKG_URL=https://github.com/ataradov/edbg
  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)
  	mv $(PKG_BUILDDIR)/edbg .
  
  include $(RIOTBASE)/pkg/pkg.mk