meta-freescale-distro/conf/distro/include/fslc-base.inc
Fabio Berton ca27d12e49 distro/fslc-base: Update to Yocto 3.0 - Zeus release
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-10-28 10:39:03 -03:00

47 lines
1.2 KiB
C++

require conf/distro/poky.conf
DISTRO = "fslc-base"
DISTRO_NAME = "FSLC Distro Base"
DISTRO_VERSION = "3.0"
SDK_VENDOR = "-fslcsdk"
MAINTAINER = "FSL Community Team <meta-freescale@yoctoproject.org>"
TARGET_VENDOR = "-fslc"
DISTROOVERRIDES = "fslc"
# This function changes the default tune for machines which are based on armv7a
# to use common tune value
def arm_tune_handler(d):
features = d.getVar('TUNE_FEATURES', True).split()
if 'armv7a' in features or 'armv7ve' in features:
tune = 'armv7athf'
if 'bigendian' in features:
tune += 'b'
if 'vfpv3' in features:
tune += '-vfpv3'
if 'vfpv3d16' in features:
tune += '-vfpv3d16'
if 'neon' in features:
tune += '-neon'
if 'vfpv4' in features:
tune += '-vfpv4'
else:
tune = d.getVar('DEFAULTTUNE', True)
return tune
DEFAULTTUNE_fslc := "${@arm_tune_handler(d)}"
DISTRO_ARM_INSTRUCTION ?= "thumb"
DISTRO_ARM_INSTRUCTION_armv5 ?= "arm"
ARM_INSTRUCTION_SET_fslc ??= "${DISTRO_ARM_INSTRUCTION}"
# Log information on images and packages
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
# Use bluez5 as default.
DISTRO_FEATURES_append = " bluez5"