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>
This commit is contained in:
parent
80d11b2d58
commit
c66fd3c267
|
@ -751,8 +751,8 @@ build_CMAKE() {
|
||||||
normalize_dirs
|
normalize_dirs
|
||||||
}
|
}
|
||||||
|
|
||||||
print_stable() {
|
print_supported() {
|
||||||
case "$PRINTSTABLE" in
|
case "$PRINTSUPPORTED" in
|
||||||
AUTOCONF|autoconf) printf "%s\n" "$GCC_AUTOCONF_VERSION";;
|
AUTOCONF|autoconf) printf "%s\n" "$GCC_AUTOCONF_VERSION";;
|
||||||
BINUTILS|binutils) printf "%s\n" "$BINUTILS_VERSION";;
|
BINUTILS|binutils) printf "%s\n" "$BINUTILS_VERSION";;
|
||||||
CLANG|clang) printf "%s\n" "$CLANG_VERSION";;
|
CLANG|clang) printf "%s\n" "$CLANG_VERSION";;
|
||||||
|
@ -766,7 +766,7 @@ print_stable() {
|
||||||
MPFR|mpfr) printf "%s\n" "$MPFR_VERSION";;
|
MPFR|mpfr) printf "%s\n" "$MPFR_VERSION";;
|
||||||
PYTHON|python) printf "%s\n" "$PYTHON_VERSION";;
|
PYTHON|python) printf "%s\n" "$PYTHON_VERSION";;
|
||||||
MAKE|make) printf "%s\n" "$MAKE_VERSION";;
|
MAKE|make) printf "%s\n" "$MAKE_VERSION";;
|
||||||
*) printf "Unknown tool %s\n" "$PRINTSTABLE";;
|
*) printf "Unknown tool %s\n" "$PRINTSUPPORTED";;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -810,7 +810,7 @@ while true ; do
|
||||||
-P|--package) shift; PACKAGE="$1"; shift;;
|
-P|--package) shift; PACKAGE="$1"; shift;;
|
||||||
-S|--scripting) shift; SKIPPYTHON=0;;
|
-S|--scripting) shift; SKIPPYTHON=0;;
|
||||||
-y|--ccache) shift; USECCACHE=1;;
|
-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;;
|
-u|--urls) shift; printf "%s\n" "$ALL_ARCHIVES"; exit 0;;
|
||||||
-n|--nocolor) shift; \
|
-n|--nocolor) shift; \
|
||||||
unset red RED green GREEN blue BLUE cyan CYAN NC;;
|
unset red RED green GREEN blue BLUE cyan CYAN NC;;
|
||||||
|
@ -825,8 +825,8 @@ if [ $# -gt 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$PRINTSTABLE" ]; then
|
if [ -n "$PRINTSUPPORTED" ]; then
|
||||||
print_stable
|
print_supported
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue