i965: fix out of tree autotools build
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 20 Mar 2018 18:31:53 +0000 (18:31 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 20 Mar 2018 19:48:56 +0000 (19:48 +0000)
Fixes: 2d2b15fbcab ("i965: fix autotools/android build")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
src/mesa/drivers/dri/i965/Makefile.am

index fe106b4257ce0bb712b5ddaaf49919e4e78d68d4..889d4c68a2bd25cb22ae0f6175c3382a009b3a0e 100644 (file)
@@ -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)/%)
 
 brw_oa_metrics.h: brw_oa_metrics.c