summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-11-15 23:41:29 +0000
committerHenrik Rydberg <rydberg@euromail.se>2013-11-16 18:35:41 +0100
commit6d698f6dba4a024b5f3ccac2876465c60f780478 (patch)
treebfa37dba71e8e310723cd843a4059439415c86f7
parent25070dda4b1aaaf402db621d10fc901b82d78377 (diff)
downloadmtdev-git-6d698f6dba4a024b5f3ccac2876465c60f780478.tar.gz
test: fix out-of-tree builds
Some tests do #include relative to the top-level, so add top_srcdir to the include path as otherwise out-of-tree builds can't find the files. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 2b504bd..6688b41 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,7 @@
noinst_PROGRAMS = mtdev-mapgen mtdev-matching mtdev-kernel
bin_PROGRAMS = mtdev-test
-AM_CPPFLAGS=-I$(top_srcdir)/include/
+AM_CPPFLAGS=-I$(top_srcdir) -I$(top_srcdir)/include/
mtdev_mapgen_SOURCES = mtdev-mapgen.c