diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-04-26 14:13:08 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-05-06 13:49:42 +0000 |
commit | e8aff1ac9e064f41b8eac2fef05ae1db494ee41b (patch) | |
tree | 2a57e33700b9cfed685b4e3a3a3359b1380e63a8 /meta-agl-distro/conf/distro/include/arm-default-tune.inc | |
parent | 1f42bdf12386833666d1f6f7926081926f426bf1 (diff) |
Enforce unified tunings across all target boards of AGL
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 <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9299
Reviewed-by: Martin Kelly <mkelly@xevo.com>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Diffstat (limited to 'meta-agl-distro/conf/distro/include/arm-default-tune.inc')
-rw-r--r-- | meta-agl-distro/conf/distro/include/arm-default-tune.inc | 18 |
1 files changed, 0 insertions, 18 deletions
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)}" |