| Submitter | Otavio Salvador |
|---|---|
| Date | April 22, 2012, 7:15 p.m. |
| Message ID | <58eb527cbe9ca96a92dc89b32cf3c7e24336dc4c.1335118370.git.otavio@ossystems.com.br> |
| Download | mbox | patch |
| Permalink | /patch/26315/ |
| State | Accepted |
| Commit | 2e79fcd673dadeab6358fe22d47c8534c14de03e |
| Headers | show |
Comments
Patch
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 0445c34..a13eddc 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc @@ -36,6 +36,10 @@ SPL_IMAGE ?= "${SPL_BINARY}-${MACHINE}-${PV}-${PR}" SPL_SYMLINK ?= "${SPL_BINARY}-${MACHINE}" do_compile () { + if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then + sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' config.mk + fi + unset LDFLAGS unset CFLAGS unset CPPFLAGS
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- meta/recipes-bsp/u-boot/u-boot.inc | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)