diff options
author | Phil Blundell <pb@pbcl.net> | 2013-04-23 17:47:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-28 12:03:49 +0100 |
commit | 5c8277610ae84740e0724b27f10dba3895d40c05 (patch) | |
tree | dd04c3617e9563d9d38f5112d85ad0a0bbf347fe /meta/classes/kernel-arch.bbclass | |
parent | 05caf3417402df5c4f8f722830bfb896385cf9a5 (diff) | |
download | openembedded-core-5c8277610ae84740e0724b27f10dba3895d40c05.tar.gz openembedded-core-5c8277610ae84740e0724b27f10dba3895d40c05.tar.bz2 openembedded-core-5c8277610ae84740e0724b27f10dba3895d40c05.zip |
kernel-arch: Always use ld.bfd to link the kernel
The kernel's penchant for custom linker scripts means that it doesn't
generally get on very well with gold. Make sure we are using the BFD
linker here no matter what the distro default is set to.
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r-- | meta/classes/kernel-arch.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index b3b71bacec..4a140ebdaf 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -53,6 +53,6 @@ TARGET_AR_KERNEL_ARCH ?= "" HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH}" -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}" |