summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-06-29 18:21:00 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-06-29 18:25:49 +0100
commit172f3f5eac62fafcd0d97a9859eb2049b1e18424 (patch)
tree9f227298f914652cc98234bf78b052b62b2bf946
parentbb6ca7b3f74b63d45532108730b5c93a57926662 (diff)
egl: Check for drm winsys not just the driver name
Also fix pipe_radeon.so not building
-rw-r--r--src/gallium/targets/egl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/targets/egl/Makefile b/src/gallium/targets/egl/Makefile
index 8f9eb525908..f1259a557a1 100644
--- a/src/gallium/targets/egl/Makefile
+++ b/src/gallium/targets/egl/Makefile
@@ -141,19 +141,19 @@ OpenVG_LIBS := $(TOP)/src/gallium/state_trackers/vega/libvega.a
OUTPUT_PATH := $(TOP)/$(LIB_DIR)/egl
# determine the outputs
-ifneq ($(findstring i915,$(GALLIUM_WINSYS_DIRS)),)
+ifneq ($(findstring i915/drm,$(GALLIUM_WINSYS_DIRS)),)
OUTPUTS += i915
endif
-ifneq ($(findstring i965,$(GALLIUM_WINSYS_DIRS)),)
+ifneq ($(findstring i965/drm,$(GALLIUM_WINSYS_DIRS)),)
OUTPUTS += i965
endif
-ifneq ($(findstring nouveau,$(GALLIUM_WINSYS_DIRS)),)
+ifneq ($(findstring nouveau/drm,$(GALLIUM_WINSYS_DIRS)),)
OUTPUTS += nouveau
endif
-ifneq ($(findstring r300,$(GALLIUM_WINSYS_DIRS)),)
+ifneq ($(findstring radeon/drm,$(GALLIUM_WINSYS_DIRS)),)
OUTPUTS += radeon
endif
-ifneq ($(findstring svga,$(GALLIUM_WINSYS_DIRS)),)
+ifneq ($(findstring svga/drm,$(GALLIUM_WINSYS_DIRS)),)
OUTPUTS += vmwgfx
endif
OUTPUTS += swrast