diff mbox

[1/2] example: Makefile.inc: fix include path

Message ID 1416424423-29251-2-git-send-email-anders.roxell@linaro.org
State Accepted
Commit b5e5016875b3d4df2f849e7fdb0bbf155f3032e5
Headers show

Commit Message

Anders Roxell Nov. 19, 2014, 7:13 p.m. UTC
Break when configuring building in a separate build directory

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 example/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

Comments

Mike Holmes Nov. 19, 2014, 7:19 p.m. UTC | #1
On 19 November 2014 14:13, Anders Roxell <anders.roxell@linaro.org> wrote:

> Break when configuring building in a separate build directory
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>

Reviewed-by: Mike Holmes <mike.holmes@linaro.org>


> ---
>  example/Makefile.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/example/Makefile.inc b/example/Makefile.inc
> index b096a9c..9a3167b 100644
> --- a/example/Makefile.inc
> +++ b/example/Makefile.inc
> @@ -4,6 +4,7 @@ LIB   = $(top_builddir)/lib
>  LDADD = $(LIB)/libodp.la
>  AM_CFLAGS += \
>         -I$(srcdir) \
> +       -I$(top_srcdir)/example \
>         -I$(top_srcdir)/platform/@with_platform@/include/api \
>         -I$(top_srcdir)/platform/linux-generic/include/api \
>         -I$(top_srcdir)/helper/include
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/example/Makefile.inc b/example/Makefile.inc
index b096a9c..9a3167b 100644
--- a/example/Makefile.inc
+++ b/example/Makefile.inc
@@ -4,6 +4,7 @@  LIB   = $(top_builddir)/lib
 LDADD = $(LIB)/libodp.la
 AM_CFLAGS += \
 	-I$(srcdir) \
+	-I$(top_srcdir)/example \
 	-I$(top_srcdir)/platform/@with_platform@/include/api \
 	-I$(top_srcdir)/platform/linux-generic/include/api \
 	-I$(top_srcdir)/helper/include