mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-29 08:21:18 +01:00
25 lines
605 B
Makefile
25 lines
605 B
Makefile
PKG_NAME=UF2
|
|
PKG_URL=https://github.com/microsoft/uf2.git
|
|
PKG_VERSION=b19ac9ad613e11a062e4d00845e2b80e6b0ad29f
|
|
PKG_LICENSE=MIT
|
|
|
|
RIOTBASE ?= $(CURDIR)/../../..
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
all: $(CURDIR)/uf2conv.py $(CURDIR)/uf2families.json
|
|
|
|
$(CURDIR)/uf2conv.py:
|
|
cp $(PKG_SOURCE_DIR)/utils/uf2conv.py .
|
|
chmod a+x uf2conv.py
|
|
|
|
$(CURDIR)/uf2families.json:
|
|
cp $(PKG_SOURCE_DIR)/utils/uf2families.json .
|
|
|
|
# avoid that the files are accessed before they were copied
|
|
.NOTPARALLEL: $(CURDIR)/uf2conv.py $(CURDIR)/uf2families.json
|
|
|
|
clean::
|
|
@rm -rf $(CURDIR)/uf2conv.py
|
|
@rm -rf $(CURDIR)/uf2families.json
|