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 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