gallium-intel: Create a i965_dri.so symlink
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 28 Apr 2009 11:56:21 +0000 (12:56 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 28 Apr 2009 12:00:34 +0000 (13:00 +0100)
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.

src/gallium/winsys/drm/intel/dri/Makefile

index 125e79e0edc1c348eb05bb0a8cfeca8ee4c56fb6..a4704bc0509800dc344c92edff4c1746f095755e 100644 (file)
@@ -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