summaryrefslogtreecommitdiffstats
path: root/package/dbus/dbus.mk
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2010-01-27 02:09:03 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-01-28 22:54:44 +0100
commit3470b376f2dad8325a96b5b85a8802cec716e26f (patch)
tree1e6d2d41561ce8863d366a1628fcbd1b428ef589 /package/dbus/dbus.mk
parentb732fe6db6919183c07618b02981873ba5c22da8 (diff)
downloadbuildroot-novena-3470b376f2dad8325a96b5b85a8802cec716e26f.tar.gz
buildroot-novena-3470b376f2dad8325a96b5b85a8802cec716e26f.zip
dbus: fix target installation with BR2_HAVE_DEVFILES
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dbus/dbus.mk')
-rw-r--r--package/dbus/dbus.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 276009c63..a97fc02bc 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -81,7 +81,9 @@ $(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
touch $@
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
+ifneq ($(BR2_HAVE_DEVFILES),y)
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
+endif
rm -rf $(TARGET_DIR)/var/lib/dbus
ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d