[Mesa-dev] [PATCH 1/3] gallium/vc4: correctly include the source files

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 14 08:10:50 PDT 2014


The kernel files are built into a separate static library and
all the functions that require it are already wrapped in ifdef
USE_VC4_SIMULATOR. Don't forget the header file :)

Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/drivers/vc4/Makefile.sources        | 3 ---
 src/gallium/drivers/vc4/kernel/Makefile.sources | 1 +
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gallium/drivers/vc4/Makefile.sources b/src/gallium/drivers/vc4/Makefile.sources
index 1befb9f..2336565 100644
--- a/src/gallium/drivers/vc4/Makefile.sources
+++ b/src/gallium/drivers/vc4/Makefile.sources
@@ -36,7 +36,4 @@ C_SOURCES := \
 	vc4_state.c \
 	vc4_tiling.c \
 	vc4_tiling.h \
-	kernel/vc4_gem.c \
-	kernel/vc4_validate.c \
-	kernel/vc4_validate_shaders.c \
 	$()
diff --git a/src/gallium/drivers/vc4/kernel/Makefile.sources b/src/gallium/drivers/vc4/kernel/Makefile.sources
index d1d70dd..7d17a89 100644
--- a/src/gallium/drivers/vc4/kernel/Makefile.sources
+++ b/src/gallium/drivers/vc4/kernel/Makefile.sources
@@ -1,4 +1,5 @@
 C_SOURCES := \
+	vc4_drv.h \
 	vc4_gem.c \
 	vc4_validate.c \
 	vc4_validate_shaders.c \
-- 
2.1.0



More information about the mesa-dev mailing list