diff options
| author | Matthew McClintock <msm@freescale.com> | 2012-09-12 15:46:15 -0500 |
|---|---|---|
| committer | Matthew McClintock <msm@freescale.com> | 2012-09-12 16:45:04 -0500 |
| commit | 0cb80244c66a747480fd28e6f6fbe3b84eec1b3a (patch) | |
| tree | 359eab378d1661fd180b8c896b6d9b417ecd9e2f | |
| parent | 4b87939778089eb15729225fa8e1ffd156713ccf (diff) | |
| download | meta-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.inc | 8 |
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 |
| 16 | COMPATIBLE_MACHINE_$MACHINE = "$MACHINE" | 16 | COMPATIBLE_MACHINE_$MACHINE = "$MACHINE" |
| 17 | |||
| 18 | python () { | ||
| 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 | } | ||
