mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
We perform a basic cleanup of the IA32 architecture and related tunings in order to match the rules and descriptions within the new tuning README file. A number of small issues were corrected in the "c3" tuning to bring it inline with the README. (From OE-Core rev: ab77d3401908964f3249c761969600b5ec1bfbd0) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
DEFAULTTUNE ?= "core2"
|
|
|
|
require conf/machine/include/tune-i586.inc
|
|
|
|
# Extra tune features
|
|
TUNEVALID[core2] = "Enable core2 specific processor optimizations"
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "core2", "-march=core2 -msse3 -mtune=generic -mfpmath=sse", "", d)}"
|
|
|
|
# Extra tune selections
|
|
AVAILTUNES += "core2"
|
|
TUNE_FEATURES_tune-core2 = "${TUNE_FEATURES_tune-x86} core2"
|
|
BASE_LIB_tune-core2 = "lib"
|
|
TUNE_PKGARCH_tune-core2 = "core2"
|
|
PACKAGE_EXTRA_ARCHS_tune-core2 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586 i686 core2"
|
|
|
|
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"
|
|
|
|
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"
|