mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
makefiles/openocd: export OPENOCD_CONFIG to required targets
This commit is contained in:
parent
d7cbfe4f45
commit
03f4d383db
@ -12,3 +12,9 @@ RESET_FLAGS ?= reset
|
||||
ifneq (,$(DEBUG_ADAPTER))
|
||||
include $(RIOTMAKE)/tools/openocd-adapters/$(DEBUG_ADAPTER).inc.mk
|
||||
endif
|
||||
|
||||
OPENOCD_CONFIG ?= $(BOARDSDIR)/$(BOARD)/dist/openocd.cfg
|
||||
|
||||
# Export OPENOCD_CONFIG to required targets
|
||||
OPENOCD_TARGETS = debug% flash% reset
|
||||
$(call target-export-variables,$(OPENOCD_TARGETS),OPENOCD_CONFIG)
|
||||
|
Loading…
Reference in New Issue
Block a user