Mesa (master): freedreno: Add dependency on the xml build to the winsys.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 11 19:01:21 UTC 2019


Module: Mesa
Branch: master
Commit: e1fe98cc7d358913222b8b6156aff13950a4cec1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1fe98cc7d358913222b8b6156aff13950a4cec1

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 11 11:35:12 2019 -0700

freedreno: Add dependency on the xml build to the winsys.

The screen header includes the common xml, and otherwise we might race
to build before it's done.

Fixes: e03259974e2f ("freedreno: Generate headers from xml files")
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>

---

 src/gallium/winsys/freedreno/drm/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/gallium/winsys/freedreno/drm/meson.build b/src/gallium/winsys/freedreno/drm/meson.build
index 4a84732947f..765ac887d11 100644
--- a/src/gallium/winsys/freedreno/drm/meson.build
+++ b/src/gallium/winsys/freedreno/drm/meson.build
@@ -20,7 +20,10 @@
 
 libfreedrenowinsys = static_library(
   'freedrenowinsys',
-  files('freedreno_drm_public.h', 'freedreno_drm_winsys.c'),
+  [
+    files('freedreno_drm_public.h', 'freedreno_drm_winsys.c'),
+    freedreno_xml_header_files,
+  ],
   include_directories : [
     inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_gallium_drivers,
     inc_freedreno,




More information about the mesa-commit mailing list