Thread (5 messages) 5 messages, 3 authors, 2016-08-31

Re: Build of u-boot with gold is broken

From: Andrew Goodbody <hidden>
Date: 2016-08-30 10:04:00

From: Burton, Ross <redacted>
On 19 August 2016 at 10:33, Andrew Goodbody <andrew.goodbody@cambrionix.com<mailto:andrew.goodbody@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 [off-list ref]
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 [off-list ref]
    Signed-off-by: Ross Burton [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help