Blame view

RIOT/dist/tools/bossa/Makefile 485 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  PKG_NAME     = bossa
  PKG_URL      = https://github.com/shumatech/BOSSA
  PKG_VERSION  = 26154375695f345491bba158d57177aa231d6765
  PKG_LICENSE  = BSD-3-Clause
  PKG_BUILDDIR = $(CURDIR)/bin
  
  .PHONY: all
  
  all: git-download
  	@echo "[INFO] compiling bossac from source now"
  	@env -u CXX COMMON_CXXFLAGS="-std=c++11" $(MAKE) BINDIR=$(PKG_BUILDDIR) -C $(PKG_BUILDDIR) strip-bossac
  	@mv $(PKG_BUILDDIR)/bossac $(CURDIR)/bossac
  
  distclean::
  	@rm -f $(CURDIR)/bossac
  
  include $(RIOTBASE)/pkg/pkg.mk