summaryrefslogtreecommitdiff
path: root/package/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'package/dbus')
-rw-r--r--package/dbus/dbus.mk14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index bb278e5ef..97ff15670 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -66,19 +66,17 @@ $(STAGING_DIR)/usr/lib/libdbus-1.so: $(DBUS_DIR)/$(DBUS_BINARY)
$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(DBUS_DIR)/dbus install
- rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
- rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la \
- $(TARGET_DIR)/usr/lib/libdbus-1.so
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-1.so.3.3.0
- $(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
+ $(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIP)' \
+ initdir=/etc/init.d -C $(DBUS_DIR)/dbus install-strip
+ rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
+ $(TARGET_DIR)/usr/lib/libdbus-1.la \
+ $(TARGET_DIR)/usr/include/dbus-1.0 \
+ $(TARGET_DIR)/usr/lib/pkgconfig
$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
rm -f $(TARGET_DIR)/etc/init.d/messagebus
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
- rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
- rm -rf $(TARGET_DIR)/etc/rc.d
dbus: uclibc $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)