[syslinux:firmware] efi: Don't rebuild gnu-efi every time

syslinux-bot for Matt Fleming matt.fleming at intel.com
Wed Dec 11 02:09:07 PST 2013


Commit-ID:  237875e126c700ae538e94e5d4a7e79ee955fe5d
Gitweb:     http://www.syslinux.org/commit/237875e126c700ae538e94e5d4a7e79ee955fe5d
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Wed, 11 Dec 2013 09:04:07 +0000
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Wed, 11 Dec 2013 09:17:34 +0000

efi: Don't rebuild gnu-efi every time

There is a typo in the path used to decide whether to build gnu-efi.
Since the condition "does a nonexistent file exist?" will never evaluate
true, we're currently building gnu-efi unnecessarily.

Signed-off-by: Matt Fleming <matt.fleming at intel.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 3fd193d..fcf5fd4 100755
--- a/efi/check-gnu-efi.sh
+++ b/efi/check-gnu-efi.sh
@@ -22,7 +22,7 @@ ARCH=$1
 srcdir=`realpath $2`
 objdir=`realpath $3`
 
-if [ ! -f $objdir/include/$ARCH/efibind.h ]; then
+if [ ! -f $objdir/include/efi/$ARCH/efibind.h ]; then
     # Build the external project with a clean make environment, as
     # Syslinux disables built-in implicit rules.
     export MAKEFLAGS=


More information about the Syslinux-commits mailing list