mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
makefiles/openocd: export PRE_FLASH_CHECK_SCRIPT only when required
This commit is contained in:
parent
08adbb283c
commit
a0be709a8c
@ -34,3 +34,8 @@ ifneq (,$(OPENOCD_PRE_FLASH_CMDS))
|
||||
# Export OPENOCD_PRE_FLASH_CMDS only to the flash/flash-only targets
|
||||
$(call target-export-variables,flash%,OPENOCD_PRE_FLASH_CMDS)
|
||||
endif
|
||||
|
||||
ifneq (,$(PRE_FLASH_CHECK_SCRIPT))
|
||||
# Export PRE_FLASH_CHECK_SCRIPT only to the flash/flash-only targets
|
||||
$(call target-export-variables,flash%,PRE_FLASH_CHECK_SCRIPT)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user