diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2014-03-27 14:09:46 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-27 15:44:42 +0000 |
| commit | e69f3081e9877352e11b862bf145e7bd21efe219 (patch) | |
| tree | d419addab0a9f5c016a461c3c78f03729f3263ab | |
| parent | c4eeaa8e35e926b6d1f633549f76d1ba9ed9278b (diff) | |
| download | poky-e69f3081e9877352e11b862bf145e7bd21efe219.tar.gz | |
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]
(From OE-Core rev: a18e4bef5f284c5b940007e60c7be28128a94c44)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 0dbdba27ac..dbf2a07a8a 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): | |||
| 23 | return tarch | 23 | return tarch |
| 24 | 24 | ||
| 25 | EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ | 25 | EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ |
| 26 | 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}'\ | 26 | 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | do_install() { | 29 | do_install() { |
