summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2010-05-27 21:18:19 (GMT)
committerRemy Bohmer <linux@bohmer.net>2010-05-27 21:18:19 (GMT)
commitb1ac0964f4f8dc791c4e2fea9f08c4e61a170e15 (patch)
tree8efafe10b1f68e520ccd884b1cca35da64ffcc85 /config
parent0c771a45d4d3bcb0ef04304eb04bdae70e6e3baf (diff)
scripts: add option to strip all toolchain executables
To reduce filesizes of the toolchain and even improve build times of projects to be build with this toolchain it is usefull to strip the delivered toolchain executables. Since it is not likely that we will debug the toolchain executables itself we do not need the debug information inside the executables itself. Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'config')
-rw-r--r--config/global/paths.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 63b8775..f84abb7 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -78,3 +78,13 @@ config INSTALL_DIR_RO
read-only.
Usefull for toolchains destined for production.
+
+config STRIP_ALL_TOOLCHAIN_EXECUTABLES
+ bool
+ prompt "Strip all toolchain executables"
+ default y
+ help
+ All build host executables contain a lot of unnecessary info.
+ By stripping all executables it slightly speeds up the compilation
+ of large projects.
+ NOTE: It does NOT strip the target libraries, only HOST executables