[OE-core] [PATCH] kernel-arch: Always use ld.bfd to link the kernel

Khem Raj raj.khem at gmail.com
Tue Apr 1 05:41:24 UTC 2014


On Fri, Mar 28, 2014 at 10:28 AM, Denys Dmytriyenko <denis at denix.org> wrote:
>> -KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld ${HOST_LD_KERNEL_ARCH}"
>> +KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
>>  KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
>
> I know this is almost a year-old change.
>
> The question I have is - what should one do when using an external toolchain
> that doesn't have ld.bfd provided? I know these days with gold vs. BFD linker,
> it's common to have ld.bfd, but there could be exceptions...
>
> Should this assignment be conditional, so it's easier to override from
> local.conf or distro?

Can external toolchain create ld.bfd symlink ?



More information about the Openembedded-core mailing list