diff options
author | 2021-08-16 18:01:42 -0400 | |
---|---|---|
committer | 2021-08-18 17:00:16 +0100 | |
commit | b6f15209bcfff953cce69da97a93f9ddff141ced (patch) | |
tree | 93d7f72dd031ddb0ace1f340f455a1fc7fcb9b0b /meta/conf/machine/include/x86/tune-core2.inc | |
parent | 4aa4dcd5f31657073f2207a9a4a43247322c7eb1 (diff) | |
download | openembedded-core-b6f15209bcfff953cce69da97a93f9ddff141ced.tar.gz |
conf/machine: move tune files to architecture directories
Move all of the tune files found in conf/machine/include into their
respective architecture directories in that same location. All
references to these will need to be updated. So, change the relevant
ones for this tree in this commit as well.
For the ARM tunes, nest them one further into armv8a, armv8m, etc. and
rename some to make them uniform with the rest of the tunes.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/x86/tune-core2.inc')
-rw-r--r-- | meta/conf/machine/include/x86/tune-core2.inc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/conf/machine/include/x86/tune-core2.inc b/meta/conf/machine/include/x86/tune-core2.inc new file mode 100644 index 0000000000..97b7c1b188 --- /dev/null +++ b/meta/conf/machine/include/x86/tune-core2.inc @@ -0,0 +1,38 @@ +# Settings for the GCC(1) cpu-type "core2": +# +# Intel Core2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3 +# instruction set support. +# +# This tune is recommended for the Intel Core 2 CPU family, including Conroe, +# Merom and beyond, as well as the first Atom CPUs, Diamondville, and beyond. +# +DEFAULTTUNE ?= "core2-32" + +# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS +require conf/machine/include/x86/tune-i686.inc + +# Extra tune features +TUNEVALID[core2] = "Enable core2 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'core2', ' -march=core2 -mtune=core2 -msse3 -mfpmath=sse', '', d)}" + +# Extra tune selections +AVAILTUNES += "core2-32" +TUNE_FEATURES:tune-core2-32 = "${TUNE_FEATURES:tune-x86} core2" +BASE_LIB:tune-core2-32 = "lib" +TUNE_PKGARCH:tune-core2-32 = "core2-32" +PACKAGE_EXTRA_ARCHS:tune-core2-32 = "${PACKAGE_EXTRA_ARCHS:tune-i686} core2-32" +QEMU_EXTRAOPTIONS_core2-32 = " -cpu n270" + +AVAILTUNES += "core2-64" +TUNE_FEATURES:tune-core2-64 = "${TUNE_FEATURES:tune-x86-64} core2" +BASE_LIB:tune-core2-64 = "lib64" +TUNE_PKGARCH:tune-core2-64 = "core2-64" +PACKAGE_EXTRA_ARCHS:tune-core2-64 = "${PACKAGE_EXTRA_ARCHS:tune-x86-64} core2-64" +QEMU_EXTRAOPTIONS_core2-64 = " -cpu core2duo" + +AVAILTUNES += "core2-64-x32" +TUNE_FEATURES:tune-core2-64-x32 = "${TUNE_FEATURES:tune-x86-64-x32} core2" +BASE_LIB:tune-core2-64-x32 = "libx32" +TUNE_PKGARCH:tune-core2-64-x32 = "core2-64-x32" +PACKAGE_EXTRA_ARCHS:tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS:tune-x86-64-x32} core2-64-x32" +QEMU_EXTRAOPTIONS_core2-64-x32 = " -cpu core2duo" |