aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-04-28 12:56:21 +0100
committerJakob Bornecrantz <[email protected]>2009-04-28 13:00:34 +0100
commitaef3bccbdaf20f7e0e1fdab0084f60556a12d55d (patch)
treed221d73efcb30604820987c7f6586365902d6cec /src/gallium
parentc9b336bc936a733b1273170fc5e2ecc4980116b2 (diff)
gallium-intel: Create a i965_dri.so symlink
This is only used for debuging the gem backend on i965 chipset using the softpipe pipe driver. Usage: "export INTEL_SOFTPIPE=y" and point LIBGL_DRIVERS_PATH to "$MESA/lib/gallium" where $MESA is the mesa root.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/drm/intel/dri/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/intel/dri/Makefile b/src/gallium/winsys/drm/intel/dri/Makefile
index 125e79e0edc..a4704bc0509 100644
--- a/src/gallium/winsys/drm/intel/dri/Makefile
+++ b/src/gallium/winsys/drm/intel/dri/Makefile
@@ -20,4 +20,6 @@ include ../../Makefile.template
DRI_LIB_DEPS += -ldrm_intel
-symlinks:
+symlinks: $(TOP)/$(LIB_DIR)/gallium
+ @rm -f $(TOP)/lib/gallium/i965_dri.so
+ ln -s i915_dri.so $(TOP)/lib/gallium/i965_dri.so