Message ID | 1404940733-32404-1-git-send-email-anders.roxell@linaro.org |
---|---|
State | Accepted |
Commit | d626f0107f34f024de6cdeadbddda3cd52e06127 |
Headers | show |
Tested-by: Mike Holmes <mike.holmes@linaro.org> On 9 July 2014 17:18, Anders Roxell <anders.roxell@linaro.org> wrote: > Fixes builds when the builddir != srcdir > > Reported-by: Mike Holmes <mike.holmes@linaro.org> > Signed-off-by: Anders Roxell <anders.roxell@linaro.org> > --- > test/Makefile.inc | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/test/Makefile.inc b/test/Makefile.inc > index 6747b53..b549001 100644 > --- a/test/Makefile.inc > +++ b/test/Makefile.inc > @@ -1,6 +1,10 @@ > include $(top_srcdir)/Makefile.inc > LIB = $(top_builddir)/lib > LDADD = $(LIB)/libodp.la > -AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include/api > -I$(top_srcdir)/platform/linux-generic/include/api -I$(top_srcdir)/include > +AM_CFLAGS += \ > + -I$(srcdir) \ > + -I$(top_srcdir)/platform/@with_platform@/include/api \ > + -I$(top_srcdir)/platform/linux-generic/include/api \ > + -I$(top_srcdir)/include > > AM_LDFLAGS += -L$(LIB) > -- > 1.9.1 > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/lng-odp >
Applied, thanks! Maxim. On 07/10/2014 02:03 AM, Mike Holmes wrote: > Tested-by: Mike Holmes <mike.holmes@linaro.org > <mailto:mike.holmes@linaro.org>> > > > On 9 July 2014 17:18, Anders Roxell <anders.roxell@linaro.org > <mailto:anders.roxell@linaro.org>> wrote: > > Fixes builds when the builddir != srcdir > > Reported-by: Mike Holmes <mike.holmes@linaro.org > <mailto:mike.holmes@linaro.org>> > Signed-off-by: Anders Roxell <anders.roxell@linaro.org > <mailto:anders.roxell@linaro.org>> > --- > test/Makefile.inc | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/test/Makefile.inc b/test/Makefile.inc > index 6747b53..b549001 100644 > --- a/test/Makefile.inc > +++ b/test/Makefile.inc > @@ -1,6 +1,10 @@ > include $(top_srcdir)/Makefile.inc > LIB = $(top_builddir)/lib > LDADD = $(LIB)/libodp.la <http://libodp.la> > -AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include/api > -I$(top_srcdir)/platform/linux-generic/include/api > -I$(top_srcdir)/include > +AM_CFLAGS += \ > + -I$(srcdir) \ > + -I$(top_srcdir)/platform/@with_platform@/include/api \ > + -I$(top_srcdir)/platform/linux-generic/include/api \ > + -I$(top_srcdir)/include > > AM_LDFLAGS += -L$(LIB) > -- > 1.9.1 > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org> > http://lists.linaro.org/mailman/listinfo/lng-odp > > > > > -- > *Mike Holmes* > Linaro Technical Manager / Lead > LNG - ODP > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/lng-odp
diff --git a/test/Makefile.inc b/test/Makefile.inc index 6747b53..b549001 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -1,6 +1,10 @@ include $(top_srcdir)/Makefile.inc LIB = $(top_builddir)/lib LDADD = $(LIB)/libodp.la -AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include/api -I$(top_srcdir)/platform/linux-generic/include/api -I$(top_srcdir)/include +AM_CFLAGS += \ + -I$(srcdir) \ + -I$(top_srcdir)/platform/@with_platform@/include/api \ + -I$(top_srcdir)/platform/linux-generic/include/api \ + -I$(top_srcdir)/include AM_LDFLAGS += -L$(LIB)
Fixes builds when the builddir != srcdir Reported-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- test/Makefile.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)