summaryrefslogtreecommitdiffstats
path: root/meta/classes/module-base.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/module-base.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/module-base.bbclass')
-rw-r--r--meta/classes/module-base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass
index 1a39cc1b3f..9379bf87fa 100644
--- a/meta/classes/module-base.bbclass
+++ b/meta/classes/module-base.bbclass
@@ -21,8 +21,8 @@ TARGET_AR_KERNEL_ARCH ?= ""
21HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" 21HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}"
22 22
23KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}" 23KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}"
24KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}" 24KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}"
25KERNEL_AR = "${AR}${KERNEL_ARSUFFIX} ${HOST_AR_KERNEL_ARCH}" 25KERNEL_AR = "${HOST_PREFIX}ar${KERNEL_ARSUFFIX} ${HOST_AR_KERNEL_ARCH}"
26 26
27# kernel modules are generally machine specific 27# kernel modules are generally machine specific
28PACKAGE_ARCH = "${MACHINE_ARCH}" 28PACKAGE_ARCH = "${MACHINE_ARCH}"