On 1/22/13 7:41 AM, Enrico Scholz wrote:
Khem Raj <raj.khem-re5jqeeqqe8avxtiumw...@public.gmane.org> writes:
+KERNEL_LD = "${LD} ${HOST_LD_KERNEL_ARCH}"
...
-KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX}
${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
that's bad... gold linker has serious problems to compile stuff like
kernel or bootloaders and setting 'KERNEL_LDSUFFIX = .bfd' was a good
way to workaround these problems.
This was not the intended use of KERNEL_LD IMO.
There are is than kernel that does not go well when using gold, I think
the right approach would be to check ld-is-gold being present in
DISTRO_FEATURES and appending '.bfd' to LD variable like other recipes do
Enrico
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core