Mesa (master): gallium-intel: Create a i965_dri.so symlink

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Tue Apr 28 12:00:47 UTC 2009


Module: Mesa
Branch: master
Commit: aef3bccbdaf20f7e0e1fdab0084f60556a12d55d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aef3bccbdaf20f7e0e1fdab0084f60556a12d55d

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Tue Apr 28 12:56:21 2009 +0100

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.

---

 src/gallium/winsys/drm/intel/dri/Makefile |    4 +++-
 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 125e79e..a4704bc 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




More information about the mesa-commit mailing list