summaryrefslogtreecommitdiffstats
path: root/classes
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
commit38fbafcb3b3592149c42ebe050a0483d3a515bc0 (patch)
tree81a8ca89c53b78d1da7af29eb553f2ce14f7080e /classes
parentbf0f95191c627fc0e89fc67d14641a7d3697a841 (diff)
downloadmeta-fsl-ppc-38fbafcb3b3592149c42ebe050a0483d3a515bc0.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>
Diffstat (limited to 'classes')
-rw-r--r--classes/qoriq_build_64bit_kernel.bbclass4
1 files changed, 0 insertions, 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
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')