From 79d09a4b125e745cc89f9bca336619cbd44d9f95 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 14 Oct 2014 16:10:50 +0100 Subject: [PATCH] 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 Reviewed-by: Eric Anholt --- 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 1befb9f676f..23365659c3a 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 d1d70dd8284..7d17a898ebf 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.30.2