[packages] xorg-server: Rebuild packages when configuration was changed
[openwrt/svn-archive/archive.git] / Xorg / xorg / xserver / xorg-server / Makefile
index b0b0f3dfd5b60b43f99fd687bae3dcce04da05a4..41a9a808b6494b65ff7f617293f442ae7162a110 100644 (file)
@@ -24,6 +24,8 @@ PKG_BUILD_DEPENDS:=randrproto renderproto fixesproto damageproto xcmiscproto \
 PKG_INSTALL:=1
 PKG_FIXUP:=libtool
 
+PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_xserver-xorg CONFIG_PACKAGE_xserver-common
+
 include $(INCLUDE_DIR)/package.mk
 
 X_CONFIG=generic
@@ -62,12 +64,6 @@ $(call Package/xorg/Default)
   @DISPLAY_SUPPORT
 endef
 
-define Package/xserver-xorg-config
-$(call Package/xorg/Default)
-  TITLE:=Xorg server configuration tools
-  DEPENDS:=xserver-xorg
-endef
-
 define Package/xserver-common
 $(call Package/xorg/Default)
   TITLE:=meta-package