From 3ecb8c20f8683ed2961bc54e5441f694fc3a2143 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 11 May 2010 12:36:49 +0800 Subject: gallium: Add llvmpipe support to st/egl. Update Makefile rules for st/egl. --- src/gallium/targets/Makefile.dri | 1 - src/gallium/targets/Makefile.egl | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gallium/targets') diff --git a/src/gallium/targets/Makefile.dri b/src/gallium/targets/Makefile.dri index 48326e209e..3eff07538f 100644 --- a/src/gallium/targets/Makefile.dri +++ b/src/gallium/targets/Makefile.dri @@ -1,7 +1,6 @@ # -*-makefile-*- ifeq ($(MESA_LLVM),1) -DRIVER_DEFINES += -DGALLIUM_LLVMPIPE PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a LDFLAGS += $(LLVM_LDFLAGS) LD = g++ diff --git a/src/gallium/targets/Makefile.egl b/src/gallium/targets/Makefile.egl index 7e65411e98..604841f710 100644 --- a/src/gallium/targets/Makefile.egl +++ b/src/gallium/targets/Makefile.egl @@ -23,6 +23,12 @@ x11_ST = $(TOP)/src/gallium/state_trackers/egl/libeglx11.a \ x11_LIBS = $(common_LIBS) -lX11 -lXext -lXfixes +ifeq ($(MESA_LLVM),1) +x11_ST += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a +x11_LIBS += $(LLVM_LIBS) +LDFLAGS += $(LLVM_LDFLAGS) +endif + kms_ST = $(TOP)/src/gallium/state_trackers/egl/libeglkms.a kms_LIBS = $(common_LIBS) -- cgit v1.2.3