crossgcc/buildgcc: Remove unneeded 'break' statements
Bash case statements are terminated with ';;'. Unlike C, bash case statements will not continue to the next case. No 'break' is needed. Change-Id: I62e7e91f3223ac4052728a1ca12a4681af0dc036 Signed-off-by: David Hubbard <david.c.hubbard+coreboot@gmail.com> Reviewed-on: http://review.coreboot.org/3330 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
f97ff3f72c
commit
5b0420a87b
|
@ -215,16 +215,16 @@ while true ; do
|
||||||
-G|--gdb) shift; SKIPGDB=0;;
|
-G|--gdb) shift; SKIPGDB=0;;
|
||||||
-S|--scripting) shift; SKIPPYTHON=0;;
|
-S|--scripting) shift; SKIPPYTHON=0;;
|
||||||
-y|--ccache) shift; USECCACHE=1;;
|
-y|--ccache) shift; USECCACHE=1;;
|
||||||
--) shift; break;;
|
--) shift;;
|
||||||
-*) printf "Invalid option\n\n"; myhelp; exit 1;;
|
-*) printf "Invalid option\n\n"; myhelp; exit 1;;
|
||||||
*) break;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
case "$TARGETARCH" in
|
case "$TARGETARCH" in
|
||||||
armv7a-eabi) break;;
|
armv7a-eabi) ;;
|
||||||
i386-elf) break;;
|
i386-elf) ;;
|
||||||
i386-mingw32) break;;
|
i386-mingw32) ;;
|
||||||
i386*) TARGETARCH=i386-elf;;
|
i386*) TARGETARCH=i386-elf;;
|
||||||
arm*) TARGETARCH=armv7a-eabi;;
|
arm*) TARGETARCH=armv7a-eabi;;
|
||||||
*) printf "Invalid architecture\n\n"; myhelp; exit 1;;
|
*) printf "Invalid architecture\n\n"; myhelp; exit 1;;
|
||||||
|
|
Loading…
Reference in New Issue