Mesa (master): vc4: correctly include the source files

Eric Anholt anholt at kemper.freedesktop.org
Thu Oct 16 09:00:51 UTC 2014


Module: Mesa
Branch: master
Commit: 79d09a4b125e745cc89f9bca336619cbd44d9f95
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79d09a4b125e745cc89f9bca336619cbd44d9f95

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Oct 14 16:10:50 2014 +0100

vc4: correctly include the source files

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 :)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 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 \




More information about the mesa-commit mailing list