From 9e5ff5bf92a7888018613aad03ecba76d1434599 Mon Sep 17 00:00:00 2001 From: Zongchun Yu Date: Wed, 7 Jan 2015 17:55:06 +0800 Subject: [PATCH] remove duplicate check for e6500 64b kernel build 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 --- meta-fsl-ppc/classes/qoriq_build_64bit_kernel.bbclass | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta-fsl-ppc/classes/qoriq_build_64bit_kernel.bbclass b/meta-fsl-ppc/classes/qoriq_build_64bit_kernel.bbclass index 562afd14..5dd8931f 100644 --- a/meta-fsl-ppc/classes/qoriq_build_64bit_kernel.bbclass +++ b/meta-fsl-ppc/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') -- 2.40.1