From 7cd8a605dc70cc4bbca4ba59c44c662ba5402781 Mon Sep 17 00:00:00 2001 From: Christophe Milard Date: Wed, 10 Jun 2015 18:54:23 +0200 Subject: validation: changing build order When tests will be ran from the platform side, they will use platform agnostic tests from the validation side: i.e. -the validation side must be build before the platform test side. And the platform agnostic tests uses ODP. The building order must therefore be as follows: 1) (i.e. ODP) 2) validation (i.e. common tests) 3) /test (i.e. the platform specific test setup and tests) Saddly, writing SUBDIRS=platform/@with_platform@ does not work with autotools, which leads to a bit of clutter in configure.ac. Hopefully changed if things move around in the future... Signed-off-by: Christophe Milard Reviewed-by: Mike Holmes Reviewed-by: Stuart Haslam Signed-off-by: Maxim Uvarov --- Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b9b251704..2c8a9d643 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,14 @@ ACLOCAL_AMFLAGS=-I m4 AUTOMAKE_OPTIONS = foreign -SUBDIRS = doc platform example test helper scripts +#@with_platform@ works alone in subdir but not as part of a path??? +SUBDIRS = @platform_with_platform@ \ + test \ + @platform_with_platform_test@ \ + helper \ + doc \ + example \ + scripts include $(top_srcdir)/aminclude.am -- cgit v1.2.3