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

Manjukumar Harthikote Matha manjukumar.harthikote-matha at xilinx.com
Tue Aug 30 20:55:27 UTC 2016


Hi All,

On 08/30/2016 02:57 AM, Andrew Goodbody wrote:
> *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.
>
Can we do ${S}/config.mk ? Meaning
sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' ${S}/config.mk
I dont have a setup for gold linker, If you can send the instructions I 
will give it a try

Thanks
Manju



More information about the Openembedded-core mailing list