mesa: disable all dri drivers except for swrast for non-x86 (compile errors)
[openwrt/svn-archive/archive.git] / Xorg / lib / mesa / Makefile
index 923284e..ae33cdb 100644 (file)
@@ -44,7 +44,7 @@ define Package/libgl-mesa-dri-$(1)
   SECTION:=xorg-lib
   CATEGORY:=Xorg
   SUBMENU:=libraries
-  DEPENDS:=libgl-mesa @DISPLAY_SUPPORT
+  DEPENDS:=libgl-mesa @DISPLAY_SUPPORT $(if $(findstring swrast,$(1)),,@TARGET_x86)
   TITLE:=mesa dri $(1)
   URL:=http://mesa3d.org
 endef