summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-swrast/Makefile
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-27 08:25:09 +0200
committerMarek Olšák <[email protected]>2011-07-14 03:03:26 +0200
commit67aba799bc9f32bf60b1587bc7e6072dfadff13d (patch)
tree434f1c551c3b8d9b94fe61c8a94f9f7b424889f8 /src/gallium/targets/dri-swrast/Makefile
parent5fe54df58f31e5d321f7cbd5b095eb8c2417deb1 (diff)
gallium/targets: do not link every driver with libllvmpipe.a
Only some targets need that, the others don't.
Diffstat (limited to 'src/gallium/targets/dri-swrast/Makefile')
-rw-r--r--src/gallium/targets/dri-swrast/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-swrast/Makefile b/src/gallium/targets/dri-swrast/Makefile
index 45b933e3f93..e83e0248b03 100644
--- a/src/gallium/targets/dri-swrast/Makefile
+++ b/src/gallium/targets/dri-swrast/Makefile
@@ -14,6 +14,11 @@ PIPE_DRIVERS = \
$(TOP)/src/gallium/drivers/trace/libtrace.a \
$(TOP)/src/gallium/drivers/rbug/librbug.a
+ifeq ($(MESA_LLVM),1)
+PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a
+DRIVER_DEFINES += -DGALLIUM_LLVMPIPE
+endif
+
SWRAST_COMMON_GALLIUM_SOURCES = \
$(TOP)/src/mesa/drivers/dri/common/utils.c \
$(TOP)/src/mesa/drivers/dri/common/drisw_util.c \