From e8aff1ac9e064f41b8eac2fef05ae1db494ee41b Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 26 Apr 2017 14:13:08 +0200 Subject: Enforce unified tunings across all target boards of AGL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DEFAULTTUNE is a setting that should be defined in the DISTRO. So we do it here. Goal is to have just 3-4 SDKs in the end. We use these levels: - ARM 32bit high: armv7vethf-neon-vfpv4 (=default for ARM 32bit) - ARM 32bit medium: armv7athf-neon (enabled via DISTRO_FEATURE_append = " agl-medium-arm-compiler") - AARCH64: aarch64 (=aarch64, no other tunings) - x86-64: corei7-64 (=corei7-64 also for qemux86-64) v2: Fix qemu user-mode emulation on x86-64 and adapt qemux86-64 tune flags. See: https://goo.gl/DMaBJ9 Bug-AGL: SPEC-491 Change-Id: Iababbe38a531d546c03f695847651f2d83301b9a Signed-off-by: Jan-Simon Möller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9299 Reviewed-by: Martin Kelly ci-image-build: Jenkins Job builder account Reviewed-by: Stéphane Desneux Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account --- .../conf/distro/include/arm-default-tune.inc | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 meta-agl-distro/conf/distro/include/arm-default-tune.inc (limited to 'meta-agl-distro/conf/distro/include/arm-default-tune.inc') diff --git a/meta-agl-distro/conf/distro/include/arm-default-tune.inc b/meta-agl-distro/conf/distro/include/arm-default-tune.inc deleted file mode 100644 index 5a6f44fe5..000000000 --- a/meta-agl-distro/conf/distro/include/arm-default-tune.inc +++ /dev/null @@ -1,18 +0,0 @@ -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_agl := "${@arm_tune_handler(d)}" -- cgit 1.2.3-korg