diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-25 20:55:31 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-25 20:55:31 +0000 |
commit | 9d68c3bdb2634aad07147ed26ba3bf9fa453b1ac (patch) | |
tree | 7a58da6c1ee8bc881932439d7107b96f8c413af1 /package | |
parent | 119562f2dee452ca7f5dcfb5e4a9999635aebfdd (diff) | |
download | buildroot-novena-9d68c3bdb2634aad07147ed26ba3bf9fa453b1ac.tar.gz buildroot-novena-9d68c3bdb2634aad07147ed26ba3bf9fa453b1ac.zip |
Stop dbus continuos rebuild, fix deps
Diffstat (limited to 'package')
-rw-r--r-- | package/dbus/dbus.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index 9cc8edb6f..c98827ba3 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -15,14 +15,17 @@ ifeq ($(BR2_DBUS_EXPAT),y) DBUS_XML:=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 +DBUS_XML_DEP_LIB:=$(STAGING_DIR)/usr/lib/libexpat.so.1 else DBUS_XML:=libxml # Makefile.autotools.in unfortunately has broken dependency handling, # so we cannot do the same for libxml2 -DBUS_XML_DEP:=libxml2-install-staging +DBUS_XML_DEP_LIB:=$(LIBXML2_HOOK_POST_INSTALL) +#libxml2-install-staging endif +DBUS_XML_DEP:=$(DBUS_XML_DEP_LIB) + $(DL_DIR)/$(DBUS_SOURCE): $(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE)) @@ -64,9 +67,12 @@ $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP) $(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured $(MAKE) -C $(DBUS_DIR) all + touch $@ $(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY) $(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install + $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libdbus-1.la + touch $@ $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY) mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d |