aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSimon Cook <si@spcook.co.uk>2020-09-14 15:58:14 +0100
committerGitHub <noreply@github.com>2020-09-14 07:58:14 -0700
commit3a4717193ad6d292ad84bea589e42e471180a841 (patch)
treecd91ffea0db6459aa9e88d2671e4b5a3b80aa56f /Makefile.am
parent2ea18ef7f6998e6df2a4c5870858990cc64f71a2 (diff)
downloadriscv-openocd-3a4717193ad6d292ad84bea589e42e471180a841.zip
riscv-openocd-3a4717193ad6d292ad84bea589e42e471180a841.tar.gz
riscv-openocd-3a4717193ad6d292ad84bea589e42e471180a841.tar.bz2
Update Signed-off-by Makefile changes to work for out of tree builds (#532)
Change-Id: I617ca9f0eb6a473528646dfb80d75b6bafaa0635 Signed-off-by: Simon Cook <simon.cook@embecosm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ee3919e..fcfd554 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,7 +122,7 @@ distclean-local:
# instead we have a hook that enforces this in each workspace. To make sure
# that users actually use those hooks, we point git at them here.
all-local:
- git config core.hooksPath ./git-hooks
+ cd $(srcdir) && git config core.hooksPath ./git-hooks
DISTCLEANFILES = doxygen.log