summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-08-02 13:44:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-05 17:16:03 +0100
commite8f456613acab7513816a4cd036b4664ce37546c (patch)
treee6e428ab383d9da5fd10e3cf0e56a9a83f47a152 /meta/classes/kernel.bbclass
parentd6bbdcc030fc6c7720e12d96943031f6b119e69b (diff)
downloadpoky-e8f456613acab7513816a4cd036b4664ce37546c.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] (From OE-Core rev: 9c525241c564a458db8ecd9ba325edeb13ec1c58) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f2f05b1171..7dc9cc6e42 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -47,7 +47,7 @@ TARGET_LD_KERNEL_ARCH ?= ""
47HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" 47HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}"
48 48
49KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" 49KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
50KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" 50KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
51 51
52# Where built kernel lies in the kernel tree 52# Where built kernel lies in the kernel tree
53KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" 53KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"