@@ -72,7 +72,7 @@ odpapiplatinclude_HEADERS = \
$(srcdir)/include/odp/api/plat/crypto_types.h \
$(srcdir)/include/odp/api/plat/event_types.h \
$(srcdir)/include/odp/api/plat/init_types.h \
- $(srcdir)/include/odp/api/plat/inlines.h \
+ $(builddir)/include/odp/api/plat/inlines.h \
$(srcdir)/include/odp/api/plat/packet_types.h \
$(srcdir)/include/odp/api/plat/packet_io_types.h \
$(srcdir)/include/odp/api/plat/pool_types.h \
@@ -9,7 +9,9 @@ LDADD = $(PRE_LDADD) $(LIB)/libodphelper-linux.la $(LIB)/libodp-linux.la
INCFLAGS = -I$(top_srcdir)/test \
-I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/include \
- -I$(top_srcdir)/helper/include
+ -I$(top_srcdir)/helper/include \
+ -I$(top_builddir)/platform/@with_platform@/include
+
AM_CFLAGS += $(INCFLAGS)
AM_CXXFLAGS = $(INCFLAGS)
@@ -13,4 +13,5 @@ INCODP = -I$(top_srcdir)/test \
-I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH_DIR) \
-I$(top_srcdir)/include \
- -I$(top_srcdir)/helper/include
+ -I$(top_srcdir)/helper/include \
+ -I$(top_builddir)/platform/@with_platform@/include
Resolve bug https://bugs.linaro.org/show_bug.cgi?id=2507 by looking for the constructed file include/plat/inlines.h in the builddir, not the srcdir. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- platform/linux-generic/Makefile.am | 2 +- test/Makefile.inc | 4 +++- test/linux-generic/Makefile.inc | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) -- 2.5.0