make use of feature-flags: let libX11 provide the feature "drawing-backend"
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18388 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e3d1ba0b5a
commit
8a8de5ae61
@ -32,6 +32,12 @@ define Package/libX11
|
|||||||
URL:=http://xorg.freedesktop.org/
|
URL:=http://xorg.freedesktop.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Feature/libX11
|
||||||
|
TARGET_NAME:=drawing-backend
|
||||||
|
TARGET_TITLE:=Drawing Backend
|
||||||
|
NAME:=libX11
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--enable-malloc0returnsnull \
|
--enable-malloc0returnsnull \
|
||||||
@ -72,4 +78,5 @@ define Package/libX11/install
|
|||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Feature,libX11))
|
||||||
$(eval $(call BuildPackage,libX11))
|
$(eval $(call BuildPackage,libX11))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user