mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ed4d871835
Automatically fetch the upstream version of cc2538-bsl.py instead of maintaining our own fork of the tool. fixes #13566
47 lines
2.0 KiB
Makefile
47 lines
2.0 KiB
Makefile
# This file contains a collection of targets defined by tools shipped with RIOT.
|
|
# The reason for keeping those targets separated from their tool Makfiles is
|
|
# that these targets have to be defined after the default build targets
|
|
# (as `all`), so `all` will always be the first target defined and thereby the
|
|
# default target when `make` is called without any further argument.
|
|
|
|
.PHONY: mosquitto_rsmb
|
|
|
|
# target for building the bossac binary
|
|
$(RIOTTOOLS)/bossa-$(BOSSA_VERSION)/bossac:
|
|
@echo "[INFO] bossac $(BOSSA_VERSION) binary not found - building it from source"
|
|
@make -C $(RIOTTOOLS)/bossa-$(BOSSA_VERSION)
|
|
@echo "[INFO] bossac $(BOSSA_VERSION) binary successfully built!"
|
|
|
|
$(RIOTTOOLS)/pic32prog/pic32prog: $(RIOTTOOLS)/pic32prog/Makefile
|
|
@echo "[INFO] $(@F) binary not found - building it from source now"
|
|
make -C $(@D)
|
|
@echo "[INFO] $(@F) binary successfully built!"
|
|
|
|
$(RIOTTOOLS)/cc2538-bsl/cc2538-bsl.py:
|
|
@echo "[INFO] cc2538-bsl.py not found - fetching it from GitHub now"
|
|
CC= CFLAGS= make -C $(RIOTTOOLS)/cc2538-bsl
|
|
@echo "[INFO] cc2538-bsl.py successfully fetched!"
|
|
|
|
$(RIOTTOOLS)/edbg/edbg: $(RIOTTOOLS)/edbg/Makefile
|
|
@echo "[INFO] edbg binary not found - building it from source now"
|
|
CC= CFLAGS= make -C $(RIOTTOOLS)/edbg
|
|
@echo "[INFO] edbg binary successfully built!"
|
|
|
|
$(RIOTTOOLS)/mosquitto_rsmb/mosquitto_rsmb:
|
|
@echo "[INFO] rsmb binary not found - building it from source now"
|
|
@make -C $(RIOTTOOLS)/mosquitto_rsmb
|
|
@echo "[INFO] rsmb binary successfully built!"
|
|
|
|
mosquitto_rsmb: $(RIOTTOOLS)/mosquitto_rsmb/mosquitto_rsmb
|
|
@make -C $(RIOTTOOLS)/mosquitto_rsmb run
|
|
|
|
$(RIOTTOOLS)/setsid/setsid: $(RIOTTOOLS)/setsid/Makefile
|
|
@echo "[INFO] setsid binary not found - building it from source now"
|
|
@make -C $(RIOTTOOLS)/setsid
|
|
@echo "[INFO] setsid binary successfully built!"
|
|
|
|
$(RIOTTOOLS)/flatc/flatc: $(RIOTTOOLS)/flatc/Makefile
|
|
@echo "[INFO] flatc binary not found - building it from source now"
|
|
make -C $(RIOTTOOLS)/flatc
|
|
@echo "[INFO] flatc binary successfully built!"
|