endif
$(EXT2_BASE): host-fakeroot makedevs genext2fs
- -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
+ -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/share/man
@rm -rf $(TARGET_DIR)/usr/info
@test -d $(TARGET_DIR)/usr/share && \
- rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
+ rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share || \
+ true
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))