2020-02-25 11:48:56 +01:00
|
|
|
PKG_NAME = bossa
|
|
|
|
PKG_URL = https://github.com/shumatech/BOSSA
|
|
|
|
PKG_VERSION = 1.9.1
|
|
|
|
PKG_LICENSE = BSD-3-Clause
|
2020-06-13 21:03:07 +02:00
|
|
|
|
|
|
|
PKG_SOURCE_DIR = $(CURDIR)/bin
|
|
|
|
PKG_BUILD_OUT_OF_SOURCE = 0
|
2020-02-25 11:48:56 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
|
|
|
|
all:
|
|
|
|
@echo "[INFO] compiling bossac from source now"
|
2020-06-13 21:03:07 +02:00
|
|
|
@env -u CXX COMMON_CXXFLAGS="-std=c++11" $(MAKE) BINDIR=$(PKG_BUILD_DIR) -C $(PKG_BUILD_DIR) strip-bossac
|
|
|
|
@mv $(PKG_BUILD_DIR)/bossac $(CURDIR)/bossac
|
2020-02-25 11:48:56 +01:00
|
|
|
|
|
|
|
distclean::
|
|
|
|
@rm -f $(CURDIR)/bossac
|