[syslinux] [PATCH] check-gnu-efi.sh: print the output of build-gnu-efi.sh

Ady ady-sf at hotmail.com
Mon Nov 24 18:45:01 PST 2014


> The build would be failed and exit if build-gnu-efi.sh is failed, so
> we'd better not suppress the output of build-gnu-efi.sh, which is good
> for debugging.
> 
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  efi/check-gnu-efi.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/efi/check-gnu-efi.sh b/efi/check-gnu-efi.sh
> index 85305f8..7d99e9a 100755
> --- a/efi/check-gnu-efi.sh
> +++ b/efi/check-gnu-efi.sh
> @@ -25,7 +25,7 @@ if [ ! \( -f "$objdir/include/efi/$ARCH/efibind.h" -a -f "$objdir/lib/libefi.a"
>      # Syslinux disables built-in implicit rules.
>      export MAKEFLAGS=
>  
> -    ../../efi/build-gnu-efi.sh $ARCH "$objdir" > /dev/null 2>&1
> +    ../../efi/build-gnu-efi.sh $ARCH "$objdir"
>      if [ $? -ne 0 ]; then
>  	printf "Failed to build gnu-efi. "
>  	printf "Execute the following command for full details: \n\n"
> -- 
> 1.9.1
> 
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> 

Several comments about the gnu-efi submodule in the Syslinux source 
code (as of official upstream Syslinux 6.03 stable)...

_ For the gnu-efi submodule, 'git' is a dependency.

_ The gnu-efi submodule in official Syslinux points to a specific 
commit of gnu-efi. Pointing to (or rebuilding basing on) a different 
(usually newer) commit might result in different (unknown) behaviors 
(either introducing or solving problems).

_ The gnu-efi git repository is currently partially unavailable. Trying 
to retrieve older commits (as the one used in the official release of 
Syslinux 6.03 stable) might succeed, but, at this moment, trying to 
retrieve the official gnu-efi master head will fail.

_ There are some reports of interaction problems (e.g. gcc 4.9.x and/or 
nasm 2.11.06), preventing to successfully build Syslinux.

Regards,
Ady.


More information about the Syslinux mailing list