summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZongchun Yu <Zongchun.Yu@freescale.com>2015-01-07 17:55:06 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2015-01-08 18:21:20 +0800
commit9e5ff5bf92a7888018613aad03ecba76d1434599 (patch)
tree2c433ebc3fa6563c98f133b586c50117a556c0f1
parent9c4d9c350217847b2cdf63057fb0609d24a50ee2 (diff)
downloadmeta-freescale-9e5ff5bf92a7888018613aad03ecba76d1434599.tar.gz
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 <Zongchun.Yu@freescale.com>
-rw-r--r--meta-fsl-ppc/classes/qoriq_build_64bit_kernel.bbclass4
1 files changed, 0 insertions, 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
2REQUIRED_DISTRO_FEATURES_e6500 += "multiarch" 2REQUIRED_DISTRO_FEATURES_e6500 += "multiarch"
3 3
4python () { 4python () {
5 pkgarch = d.getVar("TUNE_PKGARCH", True)
6 if not "ppce6500" == pkgarch:
7 return
8
9 promote_kernel = d.getVar('BUILD_64BIT_KERNEL') 5 promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
10 if promote_kernel == "1": 6 if promote_kernel == "1":
11 d.setVar('KERNEL_CC_append', ' -m64') 7 d.setVar('KERNEL_CC_append', ' -m64')