Commit 69b2cc76 authored by Javier Viguera's avatar Javier Viguera Committed by Peter Korsgaard
Browse files

target-finalize: do not strip libthread_db



Fix previous commit not to strip libthread_db library. In the previous
commit the wildcard was incorrectly matching the symbolic link instead
of the real library file.

Signed-off-by: default avatarJavier Viguera <javier.viguera@digi.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 37f64ed0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
	rm -rf $(TARGET_DIR)/usr/share/gtk-doc
	-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
endif
	find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db.so*' | \
	find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db*.so' | \
		xargs $(STRIPCMD) 2>/dev/null || true
	find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
		xargs -r $(STRIPCMD) $(STRIP_STRIP_UNNEEDED)