summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-10 15:03:17 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-10 15:03:19 +0100
commit28248af7ee39026350281da6d58b4054b3c306a4 (patch)
tree97f2fe8dc37192c382756aa666806d476b3460ad
parent6e9f1b4ef8a9113526b93e493c5393dd9ec87e10 (diff)
downloadOSELAS.Toolchain-28248af7ee39026350281da6d58b4054b3c306a4.tar.gz
build_all_v2.mk: strip some more files
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xbuild_all_v2.mk7
1 files changed, 6 insertions, 1 deletions
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 "$@"