[Mesa-dev] [PATCH 2/3] genxml: use PYTHON3

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 22 16:59:32 UTC 2016


On 22 April 2016 at 16:21, Jonathan Gray <jsg at jsg.id.au> wrote:
> Allows the build to work when the python3 binary is not "python3".
>
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> ---
>  src/intel/genxml/Makefile.am | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am
> index 77b2f19..be3ad41 100644
> --- a/src/intel/genxml/Makefile.am
> +++ b/src/intel/genxml/Makefile.am
> @@ -26,7 +26,9 @@ BUILT_SOURCES =                                         \
>         gen8_pack.h                                     \
>         gen9_pack.h
>
> +PYTHON3_GEN = $(AM_V_GEN)$(PYTHON3) $(PYTHON_FLAGS)
> +
>  %_pack.h : %.xml gen_pack_header.py
> -       $(AM_V_GEN) $(srcdir)/gen_pack_header.py $< > $@
> +       $(PYTHON3_GEN) $(srcdir)/gen_pack_header.py $< > $@
>
Nice. While you're here, please drop gen_pack_header.py's execute bit.

With that this and 1/3 are
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Thanks
Emil


More information about the mesa-dev mailing list