summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKumar Gala <kumar.gala@linaro.org>2016-10-19 15:13:41 -0500
committerAnas Nashif <nashif@linux.intel.com>2016-10-24 19:59:42 +0000
commit8d35760fec3e702296b1a5e558d1740b6c51555d (patch)
tree4debeb51da9054b5d855b2106f3ba8e8a59d97cb /scripts
parentfc0fa86a8514a12dcb471977af2f58cf3f2a3e53 (diff)
board: organize boards based on architecture
Introduce an architecture sorting of boards. This is to allow for easier maintenance going forward as the number of boards grows. It will be easier for any scripts to know the board/arch mapping without having to maintain an explicit list of what boards are associated with which arch. We can also do things like have architecture maintainers cover reviews and branches for arch/${ARCH} and boards/${ARCH} going forward. Change-Id: I02e0a30292b31fad58fb5dfab2682ad1c5a7d5a7 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/support/openocd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/support/openocd.sh b/scripts/support/openocd.sh
index f7acbea5c..87534d813 100755
--- a/scripts/support/openocd.sh
+++ b/scripts/support/openocd.sh
@@ -4,7 +4,7 @@
# by RIOT-OS (https://github.com/RIOT-OS/RIOT)
OPENOCD_CMD="${OPENOCD:-openocd} -s ${OPENOCD_DEFAULT_PATH}"
-OPENOCD_CONFIG=${ZEPHYR_BASE}/boards/${BOARD_NAME}/support/openocd.cfg
+OPENOCD_CONFIG=${ZEPHYR_BASE}/boards/${ARCH}/${BOARD_NAME}/support/openocd.cfg
BIN_NAME=${O}/${KERNEL_BIN_NAME}
ELF_NAME=${O}/${KERNEL_ELF_NAME}