[oe-commits] Robert Yang : gnu-efi: fix the LIBDIR

git at git.openembedded.org git at git.openembedded.org
Thu Mar 27 15:36:43 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: a18e4bef5f284c5b940007e60c7be28128a94c44
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a18e4bef5f284c5b940007e60c7be28128a94c44

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Thu Mar 27 14:09:46 2014 +0800

gnu-efi: fix the LIBDIR

Its LIBDIR in Makefile is:

LIBDIR = $(PREFIX)/lib

This is incorrect for 64 bit bsp, thus will cause build failures on gummiboot:

ld: cannot open linker script file /path/to/usr/lib64/elf_x86_64_efi.lds: No such file or directory

[YOCTO #6053]

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
index 0dbdba2..dbf2a07 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
@@ -23,7 +23,7 @@ def gnu_efi_arch(d):
     return tarch
 
 EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
-                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}'\
+                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
                 "
 
 do_install() {



More information about the Openembedded-commits mailing list