[coreboot-gerrit] New patch to review for coreboot: buildgcc: Fix the options check
Zheng Bao (zheng.bao@amd.com)
gerrit at coreboot.org
Tue Aug 11 08:59:01 CEST 2015
Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11158
-gerrit
commit aecc834d9e87c143125e4e233155097fe5b93bbe
Author: zbao <fishbaozi at gmail.com>
Date: Tue Aug 11 02:43:46 2015 -0400
buildgcc: Fix the options check
1. Add -P|--package to build iasl
2. Remove -G|--skip-gdb
3. Add -S|--scripting
4. Remove -C|--clang
All these changes are aligned with the options parsing below.
Change-Id: I897ea5e8ab002086e45bf05ff33230815b246057
Signed-off-by: Zheng Bao <zheng.bao at amd.com>
Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
util/crossgcc/buildgcc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index eaeafcf..bd0d8ef 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -499,11 +499,11 @@ getopt - > /dev/null 2>/dev/null || gcc -o getopt getopt.c
getoptbrand="$(getopt -V | sed -e '1!d' -e 's,^\(......\).*,\1,')"
if [ "${getoptbrand}" = "getopt" ]; then
# Detected GNU getopt that supports long options.
- args=$(getopt -l version,help,clean,directory:,platform:,jobs:,destdir:,savetemps,skip-gdb,ccache,clang Vhcd:p:j:D:tGyC -- "$@")
+ args=$(getopt -l version,help,clean,directory:,platform:,package:,jobs:,destdir:,savetemps,scripting,ccache Vhcd:p:P:j:D:tSy -- "$@")
eval set "$args"
else
# Detected non-GNU getopt
- args=$(getopt Vhcd:p:j:D:tGyC $*)
+ args=$(getopt Vhcd:p:P:j:D:tSy $*)
set -- $args
fi
More information about the coreboot-gerrit
mailing list