makefiles/openocd: export OPENOCD_PRE_FLASH_CMDS only when required
This commit is contained in:
parent
4aa351c746
commit
fcecd6e362
@ -29,3 +29,8 @@ ifneq (,$(OPENOCD_PRE_VERIFY_CMDS))
|
||||
# Export OPENOCD_PRE_VERIFY_CMDS only to the flash/flash-only target
|
||||
$(call target-export-variables,flash%,OPENOCD_PRE_VERIFY_CMDS)
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user