summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2013-02-26 15:58:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-05 13:14:52 +0000
commitdb1d22ab3853089e0012b51b8c1946a2a0a94375 (patch)
tree1d8b728f58f422ab15020ba24a7783fc101554d1 /meta/classes
parente3bf3d2ff14082561adcd96cfc15a6a613f281b8 (diff)
downloadpoky-db1d22ab3853089e0012b51b8c1946a2a0a94375.tar.gz
kernel-arch.bbclass: don't pass extra args to KERNEL_{CC, LD, AR}
Commit a3ca06c3b45c791dd38dbf154ad0fc62b4063475 added extra args to KERNEL_CC, these revert that bit while maintaining machine additions in TARGET_??_KERNEL_ARCH Producing incorrect instructions and generating the following errors: CC arch/powerpc/kernel/init_task.o | {standard input}: Assembler messages: | {standard input}:384: Error: junk at end of line: `1' | {standard input}:949: Error: junk at end of line: `1' | {standard input}:1428: Error: junk at end of line: `1' | {standard input}:1526: Error: junk at end of line: `1' | {standard input}:1626: Error: junk at end of line: `1' | {standard input}:1685: Error: junk at end of line: `1' | {standard input}:1973: Error: junk at end of line: `1' | {standard input}:2001: Error: junk at end of line: `1' | {standard input}:2100: Error: junk at end of line: `1' | {standard input}:2168: Error: junk at end of line: `1' | {standard input}:2520: Error: junk at end of line: `1' | CC arch/powerpc/lib/locks.o (From OE-Core rev: 6ed278ab93e9c3bb291dd37837c27e120954afc7) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-arch.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index a51e82b6c4..b3b71bacec 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -52,7 +52,7 @@ HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}"
52TARGET_AR_KERNEL_ARCH ?= "" 52TARGET_AR_KERNEL_ARCH ?= ""
53HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" 53HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}"
54 54
55KERNEL_CC = "${CC} ${HOST_CC_KERNEL_ARCH}" 55KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH}"
56KERNEL_LD = "${LD} ${HOST_LD_KERNEL_ARCH}" 56KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld ${HOST_LD_KERNEL_ARCH}"
57KERNEL_AR = "${AR} ${HOST_AR_KERNEL_ARCH}" 57KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
58 58