1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/bossa-nrf52/Makefile

18 lines
491 B
Makefile

PKG_NAME = bossa
PKG_URL = https://github.com/arduino/BOSSA
PKG_VERSION = 52e0a4a28721296e64083de7780b30580e0fad16
PKG_LICENSE = BSD-3-Clause
PKG_SOURCE_DIR = $(CURDIR)/bin
PKG_BUILD_OUT_OF_SOURCE = 0
include $(RIOTBASE)/pkg/pkg.mk
all:
@echo "[INFO] compiling bossac from source now"
@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
distclean::
@rm -f $(CURDIR)/bossac