summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-09-12 15:46:15 -0500
committerMatthew McClintock <msm@freescale.com>2012-09-12 16:45:04 -0500
commit0cb80244c66a747480fd28e6f6fbe3b84eec1b3a (patch)
tree359eab378d1661fd180b8c896b6d9b417ecd9e2f
parent4b87939778089eb15729225fa8e1ffd156713ccf (diff)
downloadmeta-fsl-ppc-0cb80244c66a747480fd28e6f6fbe3b84eec1b3a.tar.gz
linux-qoriq-sdk.inc: add var to configure build for 64-bit kernel on 32-bit machine
Signed-off-by: Matthew McClintock <msm@freescale.com>
-rw-r--r--recipes-kernel/linux/linux-qoriq-sdk.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-sdk.inc b/recipes-kernel/linux/linux-qoriq-sdk.inc
index 1b76a28..35ee5e3 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.inc
+++ b/recipes-kernel/linux/linux-qoriq-sdk.inc
@@ -14,3 +14,11 @@ S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}'
14 14
15# make everything compatible for the time being 15# make everything compatible for the time being
16COMPATIBLE_MACHINE_$MACHINE = "$MACHINE" 16COMPATIBLE_MACHINE_$MACHINE = "$MACHINE"
17
18python () {
19 promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
20
21 if promote_kernel != 0:
22 d.setVar('KERNEL_CC_append', ' -m64')
23 d.setVar('KERNEL_LD_append', ' -melf64ppc')
24}