]> code.ossystems Code Review - meta-freescale.git/commitdiff
remove duplicate check for e6500 64b kernel build
authorZongchun Yu <Zongchun.Yu@freescale.com>
Wed, 7 Jan 2015 09:55:06 +0000 (17:55 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 8 Jan 2015 10:21:20 +0000 (18:21 +0800)
e6500 is a specific core which only support 64bit kernel, no
matter rootfs is 32b/64b. qoriq_build_64bit_kernel.bbclass
was added to do this.

BUILD_64BIT_KERNEL is only set for e6500. It is duplicate to check
core and BUILD_64BIT_KERNEL at the same time. remove one.

Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
meta-fsl-ppc/classes/qoriq_build_64bit_kernel.bbclass

index 562afd14abf13faf3df2afeadc55b615918ee875..5dd8931fa4c72bd010fc6293e25524e346d2d8e4 100644 (file)
@@ -2,10 +2,6 @@ inherit distro_features_check
 REQUIRED_DISTRO_FEATURES_e6500 += "multiarch"
 
 python () {
-    pkgarch = d.getVar("TUNE_PKGARCH", True)
-    if not "ppce6500" == pkgarch:
-        return
-
     promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
     if promote_kernel == "1":
         d.setVar('KERNEL_CC_append', ' -m64')