diff mbox

validation: crypto: fix out of sources directory build

Message ID 1416499669-14659-1-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit b77a3b11986db573c061e18cb5d461d9d5f8307c
Headers show

Commit Message

Taras Kondratiuk Nov. 20, 2014, 4:07 p.m. UTC
Include path should be specified via $(srcdir) which is updated properly
in case of out of sources directory build.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 test/validation/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mike Holmes Nov. 20, 2014, 5:11 p.m. UTC | #1
On 20 November 2014 11:07, Taras Kondratiuk <taras.kondratiuk@linaro.org>
wrote:

> Include path should be specified via $(srcdir) which is updated properly
> in case of out of sources directory build.
>
> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
>

reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org>


> ---
>  test/validation/Makefile.am |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
> index 2e1b991..0b831d0 100644
> --- a/test/validation/Makefile.am
> +++ b/test/validation/Makefile.am
> @@ -9,7 +9,7 @@ check_PROGRAMS = ${bin_PROGRAMS}
>  bin_PROGRAMS = odp_init odp_queue odp_crypto
>  odp_init_LDFLAGS = $(AM_LDFLAGS)
>  odp_queue_LDFLAGS = $(AM_LDFLAGS)
> -odp_crypto_CFLAGS = $(AM_CFLAGS) -I./crypto
> +odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto
>  odp_crypto_LDFLAGS = $(AM_LDFLAGS)
>  endif
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Nov. 20, 2014, 6:28 p.m. UTC | #2
Fix is good. However I can not reproduce that problem on my env.

Merged, thanks,
Maxim.

On 11/20/2014 08:11 PM, Mike Holmes wrote:
>
>
> On 20 November 2014 11:07, Taras Kondratiuk 
> <taras.kondratiuk@linaro.org <mailto:taras.kondratiuk@linaro.org>> wrote:
>
>     Include path should be specified via $(srcdir) which is updated
>     properly
>     in case of out of sources directory build.
>
>     Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org
>     <mailto:taras.kondratiuk@linaro.org>>
>
>
> reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org 
> <mailto:mike.holmes@linaro.org>>
>
>     ---
>      test/validation/Makefile.am |    2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
>     index 2e1b991..0b831d0 100644
>     --- a/test/validation/Makefile.am
>     +++ b/test/validation/Makefile.am
>     @@ -9,7 +9,7 @@ check_PROGRAMS = ${bin_PROGRAMS}
>      bin_PROGRAMS = odp_init odp_queue odp_crypto
>      odp_init_LDFLAGS = $(AM_LDFLAGS)
>      odp_queue_LDFLAGS = $(AM_LDFLAGS)
>     -odp_crypto_CFLAGS = $(AM_CFLAGS) -I./crypto
>     +odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto
>      odp_crypto_LDFLAGS = $(AM_LDFLAGS)
>      endif
>
>     --
>     1.7.9.5
>
>
>     _______________________________________________
>     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  Sr Technical Manager
> LNG - ODP
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
index 2e1b991..0b831d0 100644
--- a/test/validation/Makefile.am
+++ b/test/validation/Makefile.am
@@ -9,7 +9,7 @@  check_PROGRAMS = ${bin_PROGRAMS}
 bin_PROGRAMS = odp_init odp_queue odp_crypto
 odp_init_LDFLAGS = $(AM_LDFLAGS)
 odp_queue_LDFLAGS = $(AM_LDFLAGS)
-odp_crypto_CFLAGS = $(AM_CFLAGS) -I./crypto
+odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto
 odp_crypto_LDFLAGS = $(AM_LDFLAGS)
 endif