1
0
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:
Alexandre Abadie 2020-03-26 09:37:05 +01:00
parent 08adbb283c
commit a0be709a8c
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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