[Mesa-dev] [PATCH 11/25] anv: use the GENERATED_FILES variable

Emil Velikov emil.l.velikov at gmail.com
Thu Apr 21 13:16:11 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

... rather than having duplicates files through the sources lists.

Splitting things as is, has the side effect of making things clearer and
easing a potential android build. The latter of which automatically adds
BUILT_SOURCES to the binary.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/vulkan/Makefile.am      | 1 +
 src/intel/vulkan/Makefile.sources | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
index 86de1f2..92e8f7f 100644
--- a/src/intel/vulkan/Makefile.am
+++ b/src/intel/vulkan/Makefile.am
@@ -69,6 +69,7 @@ AM_CPPFLAGS = \
 AM_CFLAGS = -DVK_USE_PLATFORM_XCB_KHR -Wno-override-init -msse2
 
 VULKAN_SOURCES = \
+	$(VULKAN_GENERATED_FILES) \
 	$(VULKAN_FILES) \
 	$(VULKAN_WSI_X11_FILES)
 
diff --git a/src/intel/vulkan/Makefile.sources b/src/intel/vulkan/Makefile.sources
index a3b6a90..ab34bfa 100644
--- a/src/intel/vulkan/Makefile.sources
+++ b/src/intel/vulkan/Makefile.sources
@@ -26,8 +26,6 @@ VULKAN_FILES := \
 	anv_descriptor_set.c \
 	anv_device.c \
 	anv_dump.c \
-	anv_entrypoints.c \
-	anv_entrypoints.h \
 	anv_formats.c \
 	anv_image.c \
 	anv_intel.c \
-- 
2.8.0



More information about the mesa-dev mailing list