aboutsummaryrefslogtreecommitdiff
path: root/package/dbus
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-06-15 20:20:33 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-06-15 20:20:33 +0000
commite1cfbc56459db5afbfd415d5db8bdfd5f309807b (patch)
tree729789dbf82aa2a89087e4dbd66756ea6ef36512 /package/dbus
parent01da93b2186f3c806cde03bd07b13ecef2e57708 (diff)
downloadbuildroot-e1cfbc56459db5afbfd415d5db8bdfd5f309807b.tar.gz
buildroot-e1cfbc56459db5afbfd415d5db8bdfd5f309807b.tar.bz2
dbus: depend on exact XML dep so it isn't always considered out-of-date
Diffstat (limited to 'package/dbus')
-rw-r--r--package/dbus/dbus.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 8a22403bdf..d68f434141 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -13,10 +13,17 @@ DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
ifeq ($(strip $(BR2_DBUS_EXPAT)),y)
DBUS_XML:=expat
-DBUS_XML_DEP:=expat
+# depend on the exact library file instead of expat so dbus isn't always
+# considered out-of-date
+DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
else
DBUS_XML:=libxml
-DBUS_XML_DEP:=libxml2
+# depend on the exact target instead of libxml2 so dbus isn't always
+# considered out-of-date.
+# It would be neat to use $(LIBXML2_TARGET_INSTALL_STAGING) here,
+# but the libxml2 makefile is only parsed after dbus, so that doesn't work
+DBUS_XML_DEP:=$(BUILD_DIR)/libxml2-2.6.29/.stamp_staging_installed
+$(LIBXML2_TARGET_INSTALL_STAGING)
endif
$(DL_DIR)/$(DBUS_SOURCE):
@@ -83,7 +90,7 @@ ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
-dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
dbus-clean:
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf