[meta-freescale] [meta-fsl-ppc][PATCH 8/9] remove duplicate check for e6500 64b kernel build

ting.liu at freescale.com ting.liu at freescale.com
Wed Jan 7 01:55:06 PST 2015


From: Zongchun Yu <Zongchun.Yu at freescale.com>

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 at freescale.com>
---
 classes/qoriq_build_64bit_kernel.bbclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/classes/qoriq_build_64bit_kernel.bbclass b/classes/qoriq_build_64bit_kernel.bbclass
index 562afd1..5dd8931 100644
--- a/classes/qoriq_build_64bit_kernel.bbclass
+++ b/classes/qoriq_build_64bit_kernel.bbclass
@@ -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')
-- 
1.9.1



More information about the meta-freescale mailing list