diff options
author | Karl Palsson <karlp@tweak.net.au> | 2017-10-26 22:10:03 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2017-10-26 22:10:03 +0000 |
commit | 8366c945925a223dfb38786d4336394e5efc7114 (patch) | |
tree | caa0680187d7d54ffc6ad0d05fff41fa2724da18 /rules.mk | |
parent | 0d9dca3ac952c34dffe95976e04d6098def8fda9 (diff) | |
download | olsndot-8366c945925a223dfb38786d4336394e5efc7114.tar.gz olsndot-8366c945925a223dfb38786d4336394e5efc7114.tar.bz2 olsndot-8366c945925a223dfb38786d4336394e5efc7114.zip |
common openocd: use -s to find files from test dirs.
The sourcing of the common.cfg and the optional local files was failing
when invoked from a test directory. Use -s and properly use [find ...]
to search paths nicely.
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ ifeq (,$(OOCD_FILE)) $(NULL) else $(Q)(echo "halt; program $(realpath $(*).elf) verify reset" | nc -4 localhost 4444 2>/dev/null) || \ - $(OOCD) -f $(OOCD_FILE) \ + $(OOCD) -s ../../openocd/ -f $(OOCD_FILE) \ -c "program $(*).elf verify reset exit" \ $(NULL) endif |