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>
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')