diff mbox

[2/2] test: api_test: move include path

Message ID 1416424423-29251-3-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 7e7b448a319f5654e89069a4d1d31af9bcc5986c
Headers show

Commit Message

Anders Roxell Nov. 19, 2014, 7:13 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 test/Makefile.inc         | 1 +
 test/api_test/Makefile.am | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

Comments

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

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>

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


> ---
>  test/Makefile.inc         | 1 +
>  test/api_test/Makefile.am | 8 ++++----
>  2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/test/Makefile.inc b/test/Makefile.inc
> index b096a9c..e28919c 100644
> --- a/test/Makefile.inc
> +++ b/test/Makefile.inc
> @@ -4,6 +4,7 @@ LIB   = $(top_builddir)/lib
>  LDADD = $(LIB)/libodp.la
>  AM_CFLAGS += \
>         -I$(srcdir) \
> +       -I$(top_srcdir)/test \
>         -I$(top_srcdir)/platform/@with_platform@/include/api \
>         -I$(top_srcdir)/platform/linux-generic/include/api \
>         -I$(top_srcdir)/helper/include
> diff --git a/test/api_test/Makefile.am b/test/api_test/Makefile.am
> index bad7132..74e8612 100644
> --- a/test/api_test/Makefile.am
> +++ b/test/api_test/Makefile.am
> @@ -2,10 +2,10 @@ include $(top_srcdir)/test/Makefile.inc
>
>  bin_PROGRAMS = odp_atomic odp_shm odp_ring odp_timer_ping
>
> -odp_atomic_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
> -odp_shm_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
> -odp_ring_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
> -odp_timer_ping_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
> +odp_atomic_CFLAGS = $(AM_CFLAGS)
> +odp_shm_CFLAGS = $(AM_CFLAGS)
> +odp_ring_CFLAGS = $(AM_CFLAGS)
> +odp_timer_ping_CFLAGS = $(AM_CFLAGS)
>
>  odp_atomic_LDFLAGS = $(AM_LDFLAGS) -static
>  odp_shm_LDFLAGS = $(AM_LDFLAGS) -static
> --
> 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/test/Makefile.inc b/test/Makefile.inc
index b096a9c..e28919c 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -4,6 +4,7 @@  LIB   = $(top_builddir)/lib
 LDADD = $(LIB)/libodp.la
 AM_CFLAGS += \
 	-I$(srcdir) \
+	-I$(top_srcdir)/test \
 	-I$(top_srcdir)/platform/@with_platform@/include/api \
 	-I$(top_srcdir)/platform/linux-generic/include/api \
 	-I$(top_srcdir)/helper/include
diff --git a/test/api_test/Makefile.am b/test/api_test/Makefile.am
index bad7132..74e8612 100644
--- a/test/api_test/Makefile.am
+++ b/test/api_test/Makefile.am
@@ -2,10 +2,10 @@  include $(top_srcdir)/test/Makefile.inc
 
 bin_PROGRAMS = odp_atomic odp_shm odp_ring odp_timer_ping
 
-odp_atomic_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
-odp_shm_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
-odp_ring_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
-odp_timer_ping_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/test
+odp_atomic_CFLAGS = $(AM_CFLAGS)
+odp_shm_CFLAGS = $(AM_CFLAGS)
+odp_ring_CFLAGS = $(AM_CFLAGS)
+odp_timer_ping_CFLAGS = $(AM_CFLAGS)
 
 odp_atomic_LDFLAGS = $(AM_LDFLAGS) -static
 odp_shm_LDFLAGS = $(AM_LDFLAGS) -static