Browse Source

- rootfs.mk: remove non-working strip code for debug images

master
vanhofen 6 years ago
parent
commit
d58bcabecb
  1. 23
      make/rootfs.mk

23
make/rootfs.mk

@ -74,29 +74,6 @@ endif
@du -sh $(ROOTFS) @du -sh $(ROOTFS)
@echo -e "$(TERM_NORMAL)" @echo -e "$(TERM_NORMAL)"
endif endif
ifeq ($(DEBUG), yes)
@make line
@echo "The following warnings from strip are harmless!"
@make line
find $(ROOTFS)/bin -path $(ROOTFS)/bin/neutrino -prune -o -type f -print0 | xargs -0 $(TARGET)-strip || true
find $(ROOTFS)/sbin -type f -print0 | xargs -0 $(TARGET)-strip || true
find $(ROOTFS)/lib/valgrind -type f -print0 | xargs -0 $(TARGET)-strip || true
@make line
@echo "Strip samba for debug image"
@make line
$(TARGET)-strip $(TARGET_DIR)/bin/smbclient
$(TARGET)-strip $(TARGET_DIR)/bin/smbpasswd
$(TARGET)-strip $(TARGET_DIR)/lib/libsmbsharemodes.so.0
$(TARGET)-strip $(TARGET_DIR)/lib/libsmbclient.so.0
$(TARGET)-strip $(TARGET_DIR)/lib/libnetapi.so.0
$(TARGET)-strip $(TARGET_DIR)/lib/libtdb.so.1
$(TARGET)-strip $(TARGET_DIR)/lib/libtalloc.so.1
$(TARGET)-strip $(TARGET_DIR)/lib/libwbclient.so.0
find $(ROOTFS)/lib/samba -type f -print0 | xargs -0 $(TARGET)-strip || true
@echo -e "$(TERM_YELLOW)"
@du -sh $(ROOTFS)
@echo -e "$(TERM_NORMAL)"
endif
# create softlinks in filesystem # create softlinks in filesystem
softlinks: $(ROOTFS) softlinks: $(ROOTFS)

Loading…
Cancel
Save