From: Robert Yang Date: Thu, 27 Mar 2014 06:09:46 +0000 (+0800) Subject: gnu-efi: fix the LIBDIR X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34057 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a18e4bef5f284c5b940007e60c7be28128a94c44;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 0dbdba27ac1..dbf2a07a8a4 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() {