make use of feature-flags: let libX11 provide the feature "drawing-backend"
authorMirko Vogt <mirko@openwrt.org>
Thu, 12 Nov 2009 00:51:32 +0000 (00:51 +0000)
committerMirko Vogt <mirko@openwrt.org>
Thu, 12 Nov 2009 00:51:32 +0000 (00:51 +0000)
SVN-Revision: 18388

Xorg/xorg/lib/libX11/Makefile

index 13106c1..ac2b6fc 100644 (file)
@@ -32,6 +32,12 @@ define Package/libX11
   URL:=http://xorg.freedesktop.org/
 endef
 
+define Feature/libX11
+  TARGET_NAME:=drawing-backend
+  TARGET_TITLE:=Drawing Backend
+  NAME:=libX11
+endef
+
 define Build/Configure
        $(call Build/Configure/Default, \
                --enable-malloc0returnsnull \
@@ -72,4 +78,5 @@ define Package/libX11/install
                $(1)/usr/lib/
 endef
 
+$(eval $(call Feature,libX11))
 $(eval $(call BuildPackage,libX11))