A new Makefile.inc is created, defining common includes that
linux specific tests will need if they need to build with ODP.
Tests just acting as wrappers around platform agnostic tests will not need
these defines, whereas tests building ODP executable will.

Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
 platform/linux-generic/test/Makefile.inc | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 platform/linux-generic/test/Makefile.inc

diff --git a/platform/linux-generic/test/Makefile.inc 
b/platform/linux-generic/test/Makefile.inc
new file mode 100644
index 0000000..9a7cb6a
--- /dev/null
+++ b/platform/linux-generic/test/Makefile.inc
@@ -0,0 +1,16 @@
+# The following definitions may be used by platform tests that wish to
+# build specific ODP applications, (i.e those whose do more than validation
+# test wrapping)
+
+AM_LDFLAGS += -static
+
+LIBCUNIT_COMMON = $(top_builddir)/test/validation/common/libcunit_common.la
+LIB   = $(top_builddir)/lib
+LIBODP = $(LIB)/libodphelper.la $(LIB)/libodp.la
+
+INCCUNIT_COMMON = -I$(top_srcdir)/test/validation/common
+INCODP = -I$(top_srcdir)/test \
+        -I$(top_srcdir)/platform/@with_platform@/include \
+        -I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH) \
+        -I$(top_srcdir)/include \
+        -I$(top_srcdir)/helper/include
-- 
2.1.4

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to