summaryrefslogtreecommitdiffstats
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
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 @@
1LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 1LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
2 2
3PV = "3.0.34" 3PV = "3.0.34"
4PR = "r6" 4PR = "r7"
5 5
6SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3" 6SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3"
7SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \ 7SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
@@ -11,7 +11,6 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
11 11
12KSRC ?= "" 12KSRC ?= ""
13S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}' 13S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}'
14
15# make everything compatible for the time being 14# make everything compatible for the time being
16COMPATIBLE_MACHINE_$MACHINE = "$MACHINE" 15COMPATIBLE_MACHINE_$MACHINE = "$MACHINE"
17 16
@@ -24,7 +23,7 @@ python () {
24 23
25 promote_kernel = d.getVar('BUILD_64BIT_KERNEL') 24 promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
26 25
27 if promote_kernel != 0: 26 if promote_kernel == "1":
28 d.setVar('KERNEL_CC_append', ' -m64') 27 d.setVar('KERNEL_CC_append', ' -m64')
29 d.setVar('KERNEL_LD_append', ' -melf64ppc') 28 d.setVar('KERNEL_LD_append', ' -melf64ppc')
30} 29}