summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-21 14:57:28 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-22 23:24:29 +0000
commitc66fd3c2675ac0e5c68a7bd2fac26f43d07192f2 (patch)
tree22bc9b0c7fcacdb3bbf5a0c41fc7700ee6b57c06 /util
parent80d11b2d58e034d0da0dc7226e2635cbb67287a9 (diff)
downloadcoreboot-c66fd3c2675ac0e5c68a7bd2fac26f43d07192f2.tar.xz
crossgcc: Rename print_stable to print_supported
That's what the option is called in the help text. Not sure where the divergence came from, so let's fix it. Change-Id: I621aa203da2d314b93de665dbdadbe4a43725375 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/20301 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f232e83d5f..a5d4159997 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -751,8 +751,8 @@ build_CMAKE() {
normalize_dirs
}
-print_stable() {
- case "$PRINTSTABLE" in
+print_supported() {
+ case "$PRINTSUPPORTED" in
AUTOCONF|autoconf) printf "%s\n" "$GCC_AUTOCONF_VERSION";;
BINUTILS|binutils) printf "%s\n" "$BINUTILS_VERSION";;
CLANG|clang) printf "%s\n" "$CLANG_VERSION";;
@@ -766,7 +766,7 @@ print_stable() {
MPFR|mpfr) printf "%s\n" "$MPFR_VERSION";;
PYTHON|python) printf "%s\n" "$PYTHON_VERSION";;
MAKE|make) printf "%s\n" "$MAKE_VERSION";;
- *) printf "Unknown tool %s\n" "$PRINTSTABLE";;
+ *) printf "Unknown tool %s\n" "$PRINTSUPPORTED";;
esac
}
@@ -810,7 +810,7 @@ while true ; do
-P|--package) shift; PACKAGE="$1"; shift;;
-S|--scripting) shift; SKIPPYTHON=0;;
-y|--ccache) shift; USECCACHE=1;;
- -s|--supported) shift; PRINTSTABLE="$1"; shift;;
+ -s|--supported) shift; PRINTSUPPORTED="$1"; shift;;
-u|--urls) shift; printf "%s\n" "$ALL_ARCHIVES"; exit 0;;
-n|--nocolor) shift; \
unset red RED green GREEN blue BLUE cyan CYAN NC;;
@@ -825,8 +825,8 @@ if [ $# -gt 0 ]; then
exit 1
fi
-if [ -n "$PRINTSTABLE" ]; then
- print_stable
+if [ -n "$PRINTSUPPORTED" ]; then
+ print_supported
exit 0
fi