From cd1d1fa6de53951d3d5543c6049eb00ff2ee2577 Mon Sep 17 00:00:00 2001 From: John Voltz Date: Wed, 12 Mar 2008 14:51:32 +0000 Subject: fix dbus makefile to install with or without stripping --- package/dbus/dbus.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index 2fcfbcb5f..aceb14206 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -66,8 +66,13 @@ $(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)/var/lib/dbus $(TARGET_DIR)/etc/init.d +ifeq ($(BR2_STRIP_none),y) + $(MAKE) DESTDIR=$(TARGET_DIR) \ + initdir=/etc/init.d -C $(DBUS_DIR) install +else $(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \ initdir=/etc/init.d -C $(DBUS_DIR) install-strip +endif rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \ $(TARGET_DIR)/usr/lib/libdbus-1.la \ $(TARGET_DIR)/usr/include/dbus-1.0 \ -- cgit v1.2.3