[OE-core] Build of u-boot with gold is broken

Andrew Goodbody andrew.goodbody at cambrionix.com
Tue Aug 30 09:57:36 UTC 2016


From: Burton, Ross <ross.burton at intel.com>
On 19 August 2016 at 10:33, Andrew Goodbody <andrew.goodbody at cambrionix.com<mailto:andrew.goodbody at cambrionix.com>> wrote:
The sed at line 70 fails as it is being executed in an empty build directory and so there is no config.mk<http://config.mk>.

For fame and glory, can you send a tested patch to fix this?

Ross

Sorry but I am not sure about the best way to fix this.

Andrew

PS This is a resend (with additions below) as I neglected to copy the list, sorry - I was out of the office at the time.
It would be possible to simply cd into the source directory, apply the sed, then cd back to the build directory. However this seems to go against the point of having a separate build directory in that you are attempting to leave the source tree alone, or so I assume.
In my local tree I simply revert

commit 36f110594506fbee5dc18de3a04981f019f2024d
Author: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
Date:   Tue Aug 9 10:15:07 2016 -0700

    u-boot.inc: Enable out-of-tree builds

    This patch enabled out-of-tree builds for u-boot. This also helps building
    u-boot using EXTERNALSRC flow

    Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160830/e8a97a7a/attachment-0002.html>


More information about the Openembedded-core mailing list