[Mesa-dev] [PATCH] anv/Makefile: Gather all the genX files into one place

Jason Ekstrand jason at jlekstrand.net
Wed Feb 22 03:38:40 UTC 2017


While we're here, we also fix the alphabetization of the list of
genx_* files.
---
 src/intel/vulkan/Makefile.sources | 31 +++++++++----------------------
 1 file changed, 9 insertions(+), 22 deletions(-)

diff --git a/src/intel/vulkan/Makefile.sources b/src/intel/vulkan/Makefile.sources
index 21c04cd..fd149b2 100644
--- a/src/intel/vulkan/Makefile.sources
+++ b/src/intel/vulkan/Makefile.sources
@@ -60,39 +60,26 @@ VULKAN_GENERATED_FILES := \
 	anv_entrypoints.c \
 	anv_entrypoints.h
 
-
-GEN7_FILES := \
-	gen7_cmd_buffer.c \
-	genX_cmd_buffer.c \
+GENX_FILES := \
 	genX_blorp_exec.c \
+	genX_cmd_buffer.c \
 	genX_gpu_memcpy.c \
 	genX_pipeline.c \
 	genX_query.c \
 	genX_state.c
 
+GEN7_FILES := \
+	gen7_cmd_buffer.c \
+        $(GENX_FILES)
+
 GEN75_FILES := \
 	gen7_cmd_buffer.c \
-	genX_cmd_buffer.c \
-	genX_blorp_exec.c \
-	genX_gpu_memcpy.c \
-	genX_pipeline.c \
-	genX_query.c \
-	genX_state.c
+        $(GENX_FILES)
 
 GEN8_FILES := \
 	gen8_cmd_buffer.c \
-	genX_cmd_buffer.c \
-	genX_blorp_exec.c \
-	genX_gpu_memcpy.c \
-	genX_pipeline.c \
-	genX_query.c \
-	genX_state.c
+        $(GENX_FILES)
 
 GEN9_FILES := \
 	gen8_cmd_buffer.c \
-	genX_cmd_buffer.c \
-	genX_blorp_exec.c \
-	genX_gpu_memcpy.c \
-	genX_pipeline.c \
-	genX_query.c \
-	genX_state.c
+        $(GENX_FILES)
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list