fix dbus makefile to install with or without stripping
This commit is contained in:
parent
5d472aa583
commit
cd1d1fa6de
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user