Skip to content

Commit

Permalink
linux-gen: makefile: fix out of tree build
Browse files Browse the repository at this point in the history
Generated files need $(top_builddir) instead of $(top_srcdir)

Fixes bug https://bugs.linaro.org/show_bug.cgi?id=3052

Signed-off-by: Petri Savolainen <[email protected]>
Reviewed-by: Bill Fischofer <[email protected]>
Signed-off-by: Maxim Uvarov <[email protected]>
  • Loading branch information
Petri Savolainen authored and muvarov committed Jun 19, 2017
1 parent 4bda102 commit 5dd7d9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ odpapispecinclude_HEADERS = \
$(top_srcdir)/include/odp/api/spec/cpumask.h \
$(top_srcdir)/include/odp/api/spec/crypto.h \
$(top_srcdir)/include/odp/api/spec/debug.h \
$(top_srcdir)/include/odp/api/spec/deprecated.h \
$(top_srcdir)/include/odp/api/spec/errno.h \
$(top_srcdir)/include/odp/api/spec/event.h \
$(top_srcdir)/include/odp/api/spec/hash.h \
Expand Down Expand Up @@ -58,8 +57,9 @@ odpapispecinclude_HEADERS = \
$(top_srcdir)/include/odp/api/spec/ticketlock.h \
$(top_srcdir)/include/odp/api/spec/time.h \
$(top_srcdir)/include/odp/api/spec/timer.h \
$(top_builddir)/include/odp/api/spec/version.h \
$(top_srcdir)/include/odp/api/spec/traffic_mngr.h
$(top_srcdir)/include/odp/api/spec/traffic_mngr.h \
$(top_builddir)/include/odp/api/spec/deprecated.h \
$(top_builddir)/include/odp/api/spec/version.h

odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi
odpapiabidefaultinclude_HEADERS = \
Expand Down

0 comments on commit 5dd7d9e

Please sign in to comment.