Re: [PATCH] fix out-of-tree builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 21, 2014 at 09:06:15AM +0200, Adrian Negreanu wrote:
> From: Adrian Negreanu <adrian.m.negreanu@xxxxxxxxx>
> 
> version.h is -include-ed assuming that builddir is the same
> as srcdir;
> 
> In file included from <command-line>:0:0:
> ./../../tests/../lib/check-ndebug.h:3:1: fatal error:
> ../../tests/../version.h: No such file or directory
>  #endif
>   ^
> 
> Signed-off-by: Adrian Negreanu <adrian.m.negreanu@xxxxxxxxx>

Thanks for the patch, applied.
-Daniel

> ---
>  tests/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index aadcbc8..ddb0fd7 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -24,7 +24,7 @@ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
>  	-I$(srcdir)/.. \
>  	-I$(srcdir)/../lib \
>  	-include "$(srcdir)/../lib/check-ndebug.h" \
> -	-include "$(srcdir)/../version.h" \
> +	-include "$(builddir)/version.h" \
>  	-DIGT_DATADIR=\""$(abs_srcdir)"\" \
>  	$(NULL)
>  
> -- 
> 1.9.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux