From b1ac0964f4f8dc791c4e2fea9f08c4e61a170e15 Mon Sep 17 00:00:00 2001 From: Remy Bohmer Date: Thu, 27 May 2010 23:18:19 +0200 Subject: 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 --- config/global/paths.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config/global') diff --git a/config/global/paths.in b/config/global/paths.in index 63b87759..f84abb7f 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 -- cgit v1.2.3