mesa: disable all dri drivers except for swrast for non-x86 (compile errors)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 29 May 2009 12:01:16 +0000 (12:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 May 2009 12:01:16 +0000 (12:01 +0000)
SVN-Revision: 16182

Xorg/lib/mesa/Makefile

index 923284e0a0915a0328d3a748a1f22fa381e5d31f..ae33cdb644865a7d244c39ad9a409294fc20f900 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