summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "$@"