freedreno: Add dependency on the xml build to the winsys.
authorEric Anholt <eric@anholt.net>
Thu, 11 Jul 2019 18:35:12 +0000 (11:35 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 11 Jul 2019 19:01:01 +0000 (12:01 -0700)
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@google.com>
src/gallium/winsys/freedreno/drm/meson.build

index 4a84732947f71d07d4e9830a60e1fcf432424416..765ac887d11edcbb815b3fe92bf8acf8870088d8 100644 (file)
 
 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,