diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-09-18 10:17:31 -0700 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2012-09-18 13:49:12 -0500 |
commit | 0a62e229254080e96ea537000f2398a00e2241c9 (patch) | |
tree | 5feac0f82bce2abdb14ce431dd73982999181b64 | |
parent | 91cf4627cfdb9302353b8bf2ced9f0a7fcdcbd7a (diff) | |
download | meta-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.inc | 5 |
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 @@ | |||
1 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" |
2 | 2 | ||
3 | PV = "3.0.34" | 3 | PV = "3.0.34" |
4 | PR = "r6" | 4 | PR = "r7" |
5 | 5 | ||
6 | SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3" | 6 | SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3" |
7 | SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \ | 7 | SRC_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 | ||
12 | KSRC ?= "" | 12 | KSRC ?= "" |
13 | S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}' | 13 | S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}' |
14 | |||
15 | # make everything compatible for the time being | 14 | # make everything compatible for the time being |
16 | COMPATIBLE_MACHINE_$MACHINE = "$MACHINE" | 15 | COMPATIBLE_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 | } |