* bitbake.conf has OPTDEFAULTTUNE with weak default value of DEFAULTTUNE
* this way distribution policy can set DEFAULTTUNE = OPTDEFAULTTUNE to
build always with more specific tune (which includes -mtune
parameter) without listing DEFAULTTUNEs for all MACHINEs supported by
distribution.
* or it can set such tunes only for some packages
DEFAULTTUNE_pn-foo = "${OPTDEFAULTTUNE}"
* or it can include meta/conf/distro/include/optimized-tune.inc which
will be used to share knowledge which packages are worth building with
specific -mtune
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
HOST_AS_ARCH = "${TARGET_AS_ARCH}"
HOST_EXEEXT = ""
+OPTDEFAULTTUNE ??= "${DEFAULTTUNE}"
TUNE_ARCH ??= "INVALID"
TUNE_CCARGS ??= ""
TUNE_CCARGS[vardepvalue] = "${TUNE_CCARGS}"
DEFAULTTUNE ?= "armv6"
+OPTDEFAULTTUNE ?= "arm1136jfs"
require conf/machine/include/arm/arch-armv6.inc
DEFAULTTUNE ?= "armv4t"
+OPTDEFAULTTUNE ?= "arm920t"
require conf/machine/include/arm/arch-armv4.inc
DEFAULTTUNE ?= "armv5te"
+OPTDEFAULTTUNE ?= "arm926ejs"
require conf/machine/include/arm/arch-armv5-dsp.inc
DEFAULTTUNE ?= "armv4t"
+OPTDEFAULTTUNE ?= "arm9tdmi"
require conf/machine/include/arm/arch-armv4.inc
DEFAULTTUNE ?= "armv7a-neon"
+OPTDEFAULTTUNE ?= "cortexa8"
require conf/machine/include/arm/arch-armv7a.inc
DEFAULTTUNE ?= "armv7a-neon"
+OPTDEFAULTTUNE ?= "cortexa9"
require conf/machine/include/arm/arch-armv7a.inc
DEFAULTTUNE ?= "armv7a"
+OPTDEFAULTTUNE ?= "cortexm1"
require conf/machine/include/arm/arch-armv7a.inc
DEFAULTTUNE ?= "armv4"
+OPTDEFAULTTUNE ?= "strongarm"
require conf/machine/include/arm/arch-armv4.inc
DEFAULTTUNE ?= "armv5te"
+OPTDEFAULTTUNE ?= "xscale"
require conf/machine/include/arm/arch-armv5-dsp.inc