From: Khem Raj Date: Tue, 18 Sep 2012 17:17:31 +0000 (-0700) Subject: linux-qoriq-sdk: Correct the check for BUILD_64BIT_KERNEL X-Git-Tag: 2.1~534^2~394 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cfc533a7f9fd461258257307de78d6f0b0210a65;p=meta-freescale.git 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 --- diff --git a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc b/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc index d75ea4d6..5f131cba 100644 --- a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc +++ b/meta-fsl-ppc/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') }