[riot-notifications] [RIOT-OS/RIOT] boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT (#12289)

Gaëtan Harter notifications at github.com
Mon Sep 23 12:24:59 CEST 2019


### Contribution description

Remove exporting the unset OPENOCD_EXTRA_INIT
The default value in `openocd.sh` is being empty, so no use for exporting it.

### Testing procedure

The first match shows the default value is empty.
And there is no definition of `OPENOCD_EXTRA_INIT` in the `frdm` boards (and not in `RIOT` in general).

<details><summary><code>git grep -C 1 OPENOCD_EXTRA_INIT</code></summary>

```
git grep -C 1 OPENOCD_EXTRA_INIT
dist/tools/openocd/openocd.sh-# Extra board initialization commands to pass to OpenOCD
dist/tools/openocd/openocd.sh:: ${OPENOCD_EXTRA_INIT:=}
dist/tools/openocd/openocd.sh-# Debugger interface initialization commands to pass to OpenOCD
--
dist/tools/openocd/openocd.sh-            -f '${OPENOCD_CONFIG}' \
dist/tools/openocd/openocd.sh:            ${OPENOCD_EXTRA_INIT} \
dist/tools/openocd/openocd.sh-            ${OPENOCD_EXTRA_RESET_INIT} \
--
dist/tools/openocd/openocd.sh-            -f '${OPENOCD_CONFIG}' \
dist/tools/openocd/openocd.sh:            ${OPENOCD_EXTRA_INIT} \
dist/tools/openocd/openocd.sh-            -c 'tcl_port ${TCL_PORT}' \
--
dist/tools/openocd/openocd.sh-            -f '${OPENOCD_CONFIG}' \
dist/tools/openocd/openocd.sh:            ${OPENOCD_EXTRA_INIT} \
dist/tools/openocd/openocd.sh-            -c 'tcl_port ${TCL_PORT}' \
--
dist/tools/openocd/openocd.sh-            -f '${OPENOCD_CONFIG}' \
dist/tools/openocd/openocd.sh:            ${OPENOCD_EXTRA_INIT} \
dist/tools/openocd/openocd.sh-            ${OPENOCD_EXTRA_RESET_INIT} \
```
</details>

### Issues/PRs references

Found after cleaning https://github.com/RIOT-OS/RIOT/pull/12151
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12289

-- Commit Summary --

  * boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT

-- File Changes --

    M boards/common/frdm/Makefile.include (1)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12289.patch
https://github.com/RIOT-OS/RIOT/pull/12289.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12289
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190923/91d57b37/attachment.htm>


More information about the notifications mailing list