[Mesa-dev] [PATCH] i965: fix out of tree autotools build
Emil Velikov
emil.l.velikov at gmail.com
Tue Mar 20 19:43:01 UTC 2018
On 20 March 2018 at 18:59, Lionel Landwerlin
<lionel.g.landwerlin at intel.com> wrote:
> Fixes: 2d2b15fbcab ("i965: fix autotools/android build")
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
> src/mesa/drivers/dri/i965/Makefile.am | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
> index fe106b4257c..889d4c68a2b 100644
> --- a/src/mesa/drivers/dri/i965/Makefile.am
> +++ b/src/mesa/drivers/dri/i965/Makefile.am
> @@ -115,6 +115,9 @@ EXTRA_DIST = \
> meson.build
>
> brw_oa_metrics.c: brw_oa.py $(i965_oa_xml_FILES)
> - $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/brw_oa.py --code=$(builddir)/brw_oa_metrics.c --header=$(builddir)/brw_oa_metrics.h $(i965_oa_xml_FILES)
> + $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/brw_oa.py \
> + --code=$(builddir)/brw_oa_metrics.c \
> + --header=$(builddir)/brw_oa_metrics.h \
> + $(i965_oa_xml_FILES:%=$(srcdir)/%)
>
Err right - srcdir is optional in the dependency line, although on
during invocation it must be present.
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
-Emil
More information about the mesa-dev
mailing list