[Mesa-dev] [PATCH 1/8] genxml: Define GENXML_XML_FILES in Makefile.sources

Jason Ekstrand jason at jlekstrand.net
Fri Mar 24 21:35:17 UTC 2017


From: Chad Versace <chadversary at chromium.org>

The future header genX_bits.h will depend on GENXML_XML_FILES.
---
 src/intel/Makefile.genxml.am |  9 +--------
 src/intel/Makefile.sources   | 10 ++++++++++
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
index bea0aab..eab6ccd 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -24,6 +24,7 @@ BUILT_SOURCES += \
 	$(AUBINATOR_GENERATED_FILES)
 
 EXTRA_DIST += \
+	$(GENXML_XML_FILES) \
 	$(GENXML_GENERATED_FILES) \
 	$(AUBINATOR_GENERATED_FILES)
 
@@ -42,14 +43,6 @@ $(GENXML_GENERATED_FILES): genxml/gen_zipped_file.py
 	$(AM_V_GEN) $(PYTHON2) $(srcdir)/genxml/gen_zipped_file.py $< > $@ || ($(RM) $@; false)
 
 EXTRA_DIST += \
-	genxml/gen4.xml \
-	genxml/gen45.xml \
-	genxml/gen5.xml \
-	genxml/gen6.xml \
-	genxml/gen7.xml \
-	genxml/gen75.xml \
-	genxml/gen8.xml \
-	genxml/gen9.xml \
 	genxml/genX_pack.h \
 	genxml/gen_macros.h \
 	genxml/gen_pack_header.py \
diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources
index bdd8fe6..88bcf60 100644
--- a/src/intel/Makefile.sources
+++ b/src/intel/Makefile.sources
@@ -109,6 +109,16 @@ COMPILER_FILES = \
 COMPILER_GENERATED_FILES = \
 	compiler/brw_nir_trig_workarounds.c
 
+GENXML_XML_FILES = \
+	genxml/gen4.xml \
+	genxml/gen45.xml \
+	genxml/gen5.xml \
+	genxml/gen6.xml \
+	genxml/gen7.xml \
+	genxml/gen75.xml \
+	genxml/gen8.xml \
+	genxml/gen9.xml
+
 GENXML_GENERATED_FILES = \
 	genxml/gen4_pack.h \
 	genxml/gen45_pack.h \
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list