summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-09-19 09:53:24 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 14:20:16 +0100
commit5768cf0934bf2e8a73982aa959d718f62965047a (patch)
treee4a358da159003d35e91e7c528a3e780b7f680b5
parent7f8750afe173e0dd64415658367dc8bfddc10b60 (diff)
downloadOSELAS.Toolchain-5768cf0934bf2e8a73982aa959d718f62965047a.tar.gz
cleanup: stripping may fail for some linker scripts
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/post/cleanup.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/post/cleanup.make b/rules/post/cleanup.make
index 7e8c511..c06b920 100644
--- a/rules/post/cleanup.make
+++ b/rules/post/cleanup.make
@@ -27,7 +27,7 @@ ifdef PTXCONF_TOOLCHAIN_CONFIG_SYSROOT
find "$(PTXCONF_SYSROOT_CROSS)/sysroot-$(call remove_quotes,$(PTXCONF_GNU_TARGET))/usr/lib" \
-type f -name "*.a" -print0 \
| xargs -0 -n1 $(PTXCONF_SYSROOT_CROSS)/bin/$(PTXCONF_GNU_TARGET)-objcopy \
- --preserve-dates --strip-debug --keep-file-symbols
+ --preserve-dates --strip-debug --keep-file-symbols || true
endif
# # compress debug sections and remove any absolute paths
find "$(PTXCONF_SYSROOT_CROSS)" "$(PTXCONF_SYSROOT_CROSS)/lib/gcc" \