aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-11-12 11:41:55 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-11-18 14:05:56 +0000
commit838cd58e24a18102b8a140df9fa993fe65706828 (patch)
tree1bac7c3ed5ffb83ae561b4b832d5661da735e68f /common.mk
parentab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd (diff)
downloadriscv-openocd-838cd58e24a18102b8a140df9fa993fe65706828.zip
riscv-openocd-838cd58e24a18102b8a140df9fa993fe65706828.tar.gz
riscv-openocd-838cd58e24a18102b8a140df9fa993fe65706828.tar.bz2
build: add common.mk
Rather than specifying common makefile variables move them all to a common.mk. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
new file mode 100644
index 0000000..d2273d7
--- /dev/null
+++ b/common.mk
@@ -0,0 +1,5 @@
+
+# common flags used in openocd build
+AM_CPPFLAGS = -I$(top_srcdir)/src \
+ -I$(top_builddir)/src \
+ -DPKGDATADIR=\"$(pkgdatadir)\"