]> code.ossystems Code Review - openembedded-core.git/commit
gummiboot: use objcopy from the env
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 27 Mar 2014 07:27:01 +0000 (15:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2014 15:44:16 +0000 (15:44 +0000)
commit393fe40c14e7adeadbccb72953027b63b6f8030c
tree9230c771fdc502dac692cbc982565e2dec85bf0a
parentf1b23a32d0c823577cec532e3646c2f78e81ccda
gummiboot: use objcopy from the env

Fix the error:
[snip]
| nm -D -u src/efi/gummiboot.so | grep ' U ' && exit 1 || :
| objcopy -j .text -j .sdata -j .data -j .dynamic \
|   -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \
|   --target=efi-app-x86_64 src/efi/gummiboot.so gummibootx64.efi
| objcopy: src/efi/gummiboot.so: Invalid bfd target
| make[1]: *** [gummibootx64.efi] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make: *** [all] Error 2
[snip]

It uses the "objcopy" directly, which is not suitable for cross compile.

[YOCTO #6054]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch [new file with mode: 0644]
meta/recipes-bsp/gummiboot/gummiboot_git.bb