[edk2-devel] [edk2-test] [PATCH 1/3] uefi-sct/SctPkg: Fix build.sh when specifying GCC5 toolchain

Samer El-Haj-Mahmoud samer.el-haj-mahmoud at arm.com
Wed Nov 11 21:01:54 UTC 2020


Rebecca,

First, apologies for the delayed review! And thanks for contributing these fixes to SCT.

 Did you happen to check if https://github.com/tianocore/edk2-test/commit/323883de08ec30072c683d7e0602158e6e3e66fe already fixed this gcc5 build issue?



> -----Original Message-----
> From: Rebecca Cran <rebecca at nuviainc.com>
> Sent: Thursday, September 24, 2020 5:38 PM
> To: devel at edk2.groups.io
> Cc: Eric Jin <eric.jin at intel.com>; G Edhaya Chandran
> <Edhaya.Chandran at arm.com>; Samer El-Haj-Mahmoud <Samer.El-Haj-
> Mahmoud at arm.com>; Rebecca Cran <rebecca at nuviainc.com>
> Subject: [edk2-test] [PATCH 1/3] uefi-sct/SctPkg: Fix build.sh when
> specifying GCC5 toolchain
>
> build.sh usage indicates that "GCC5" can be specified, but it's currently
> rejected due to a case statement only matching "GCC" or "gcc".
> Fix this by adding a wildcard match.
>
> Signed-off-by: Rebecca Cran <rebecca at nuviainc.com>
> ---
>  uefi-sct/SctPkg/build.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index
> cad17ccdedc7..be610debcf3c 100755
> --- a/uefi-sct/SctPkg/build.sh
> +++ b/uefi-sct/SctPkg/build.sh
> @@ -151,7 +151,7 @@ case `uname` in
>  TARGET_TOOLS=ARMGCC
>  ;;
>
> -GCC | gcc)
> +GCC* | gcc*)
>              set_cross_compile
>          CROSS_COMPILE="$TEMP_CROSS_COMPILE"
>              export TARGET_TOOLS=`get_gcc_version "$CROSS_COMPILE"gcc`
> --
> 2.26.2

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67306): https://edk2.groups.io/g/devel/message/67306
Mute This Topic: https://groups.io/mt/77067567/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list