mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
Fix target install, install helper programs as well as strip executables
This commit is contained in:
@@ -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
|
$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
|
||||||
mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
|
mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
|
||||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(DBUS_DIR)/dbus install
|
$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIP)' \
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
|
initdir=/etc/init.d -C $(DBUS_DIR)/dbus install-strip
|
||||||
rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la \
|
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
|
||||||
$(TARGET_DIR)/usr/lib/libdbus-1.so
|
$(TARGET_DIR)/usr/lib/libdbus-1.la \
|
||||||
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-1.so.3.3.0
|
$(TARGET_DIR)/usr/include/dbus-1.0 \
|
||||||
$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
|
$(TARGET_DIR)/usr/lib/pkgconfig
|
||||||
$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
|
$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
|
||||||
rm -f $(TARGET_DIR)/etc/init.d/messagebus
|
rm -f $(TARGET_DIR)/etc/init.d/messagebus
|
||||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||||
rm -rf $(TARGET_DIR)/usr/share/man
|
rm -rf $(TARGET_DIR)/usr/share/man
|
||||||
endif
|
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)
|
dbus: uclibc $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user