[Mesa-stable] [PATCH][V3] build: fix out-of-tree builds in gallium/auxiliary

Ian Romanick idr at freedesktop.org
Wed Aug 21 21:14:42 PDT 2013


ping

On 08/06/2013 11:09 AM, Ross Burton wrote:
> The rules were writing files to e.g. util/u_indices_gen.py, but in an
> out-of-tree build this directory doesn't exist in the build directory.  So,
> create the directories just in case.
>
> NOTE: This is a candidate for the stable branches.
>
> Cc: mesa-stable at lists.freedesktop.org
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>   src/gallium/auxiliary/Makefile.am |    4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
> index f14279b..670e124 100644
> --- a/src/gallium/auxiliary/Makefile.am
> +++ b/src/gallium/auxiliary/Makefile.am
> @@ -38,13 +38,17 @@ libgallium_la_SOURCES += \
>   endif
>
>   indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
> +	$(MKDIR_P) indices
>   	$(AM_V_GEN) $(PYTHON2) $< > $@
>
>   indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
> +	$(MKDIR_P) indices
>   	$(AM_V_GEN) $(PYTHON2) $< > $@
>
>   util/u_format_srgb.c: $(srcdir)/util/u_format_srgb.py
> +	$(MKDIR_P) util
>   	$(AM_V_GEN) $(PYTHON2) $< > $@
>
>   util/u_format_table.c: $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format_pack.py $(srcdir)/util/u_format_parse.py $(srcdir)/util/u_format.csv
> +	$(MKDIR_P) util
>   	$(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
>



More information about the mesa-stable mailing list