aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-09-18 10:17:31 -0700
committerMatthew McClintock <msm@freescale.com>2012-09-18 13:49:12 -0500
commit0a62e229254080e96ea537000f2398a00e2241c9 (patch)
tree5feac0f82bce2abdb14ce431dd73982999181b64
parent91cf4627cfdb9302353b8bf2ced9f0a7fcdcbd7a (diff)
downloadmeta-fsl-ppc-0a62e229254080e96ea537000f2398a00e2241c9.tar.gz
meta-fsl-ppc-0a62e229254080e96ea537000f2398a00e2241c9.tar.bz2
meta-fsl-ppc-0a62e229254080e96ea537000f2398a00e2241c9.zip
linux-qoriq-sdk: Correct the check for BUILD_64BIT_KERNEL
Current comparision is returning false which is not 0 and hence KERNEL_CC and KERNEL_LD are getting 64bit options appended even when BUILD_64BIT_KERNEL is unset Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-qoriq-sdk.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-sdk.inc b/recipes-kernel/linux/linux-qoriq-sdk.inc
index d75ea4d..5f131cb 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.inc
+++ b/recipes-kernel/linux/linux-qoriq-sdk.inc
@@ -1,7 +1,7 @@
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
PV = "3.0.34"
-PR = "r6"
+PR = "r7"
SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3"
SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
@@ -11,7 +11,6 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
KSRC ?= ""
S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}'
-
# make everything compatible for the time being
COMPATIBLE_MACHINE_$MACHINE = "$MACHINE"
@@ -24,7 +23,7 @@ python () {
promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
- if promote_kernel != 0:
+ if promote_kernel == "1":
d.setVar('KERNEL_CC_append', ' -m64')
d.setVar('KERNEL_LD_append', ' -melf64ppc')
}