diff options
author | Remy Bohmer <linux@bohmer.net> | 2010-05-27 21:18:19 (GMT) |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2010-05-27 21:18:19 (GMT) |
commit | b1ac0964f4f8dc791c4e2fea9f08c4e61a170e15 (patch) | |
tree | 8efafe10b1f68e520ccd884b1cca35da64ffcc85 /scripts/crosstool-NG.sh.in | |
parent | 0c771a45d4d3bcb0ef04304eb04bdae70e6e3baf (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 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 7efb297..b7148a1 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -441,6 +441,9 @@ if [ -z "${CT_RESTART}" ]; then gcj) CT_TestAndAbort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!" "${CT_CC_LANG_JAVA}" = "y" ;; + strip) + CT_TestAndAbort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!" "${CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES}" = "y" + ;; # If any other is missing, only warn at low level *) # It does not deserve a WARN level. |