From 28248af7ee39026350281da6d58b4054b3c306a4 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 10 Dec 2012 15:03:17 +0100 Subject: build_all_v2.mk: strip some more files Signed-off-by: Michael Olbrich --- build_all_v2.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_all_v2.mk b/build_all_v2.mk index 04027f5..7356aab 100755 --- a/build_all_v2.mk +++ b/build_all_v2.mk @@ -92,7 +92,12 @@ $(STATEDIR)/%.build: | mkdirs @echo "building ${*}" $(NICE) $(PTXDIST) go --ptxconfig=$(2CONFIGFILE_$(*)) @find "`source "$(2CONFIGFILE_$(*))" && echo "$${PTXCONF_SYSROOT_CROSS}"`" -depth -type d -print0 | xargs -r -0 -- rmdir --ignore-fail-on-non-empty -- - @strip "`source "$(2CONFIGFILE_$(*))" && echo "$${PTXCONF_SYSROOT_CROSS}"`/bin/"*-* || true + find \ + "`source "$(2CONFIGFILE_$(*))" && echo "$${PTXCONF_SYSROOT_CROSS}"`/libexec/" \ + "`source "$(2CONFIGFILE_$(*))" && echo "$${PTXCONF_SYSROOT_CROSS}"`/bin/" \ + "`source "$(2CONFIGFILE_$(*))" && echo "$${PTXCONF_SYSROOT_CROSS}"`/"*/bin/ \ + -type f \( -executable -o -name "*.so*" \) \ + | xargs strip || true @touch "$@" -- cgit v1.2.3