diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-08-02 13:44:44 -0700 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-05 19:49:59 +0200 |
commit | 3df1853e1e662e377af332841c3790d7052f5aa3 (patch) | |
tree | 7c66227a9690f5bf85522158dfdf4ba6aa732583 /meta-oe/classes | |
parent | d375bad5c81a8e67fda0f21ba82f6b48659f05fe (diff) | |
download | meta-openembedded-3df1853e1e662e377af332841c3790d7052f5aa3.tar.gz |
kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables
KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.
[RP: Updated commit message]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index 7c9bb10ef..edf455d8e 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
@@ -52,7 +52,7 @@ TARGET_LD_KERNEL_ARCH ?= "" | |||
52 | HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" | 52 | HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" |
53 | 53 | ||
54 | KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" | 54 | KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" |
55 | KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" | 55 | KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" |
56 | 56 | ||
57 | # Where built kernel lies in the kernel tree | 57 | # Where built kernel lies in the kernel tree |
58 | KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" | 58 | KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" |