aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-c3.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-03-30 14:27:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-04 17:01:30 +0100
commitab77d3401908964f3249c761969600b5ec1bfbd0 (patch)
tree6e2c582cba57160e6ecb43107467e52cc73cd810 /meta/conf/machine/include/tune-c3.inc
parente138f9f7e48e0af94c5c88045c4f0581cc68248d (diff)
downloadopenembedded-core-contrib-ab77d3401908964f3249c761969600b5ec1bfbd0.tar.gz
conf/machine/include: Cleanup IA tunings to match README
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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/conf/machine/include/tune-c3.inc')
-rw-r--r--meta/conf/machine/include/tune-c3.inc12
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-c3.inc b/meta/conf/machine/include/tune-c3.inc
index e1569f5952..06fac8fb17 100644
--- a/meta/conf/machine/include/tune-c3.inc
+++ b/meta/conf/machine/include/tune-c3.inc
@@ -1,6 +1,12 @@
require conf/machine/include/ia32/arch-ia32.inc
-TUNE_PKGARCH = "i586"
+TUNEVALID[c3] = "VIA Cyrix III or VIA C3 specific optimizations"
+TUNECONFLICT[c3] = "m64 mx32"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "c3", "-march=c3 -mtune=c3", "", d)}"
-TUNE_CCARGS = "-march=c3 -mtune=c3"
-PACKAGE_EXTRA_ARCHS = "i386 i486 i586"
+AVAILTUNES += "c3"
+TUNE_FEATURES_tune-c3 = "${TUNE_FEATURES_tune-x86} c3"
+BASE_LIBS_tune-c3 = "${BASE_LIB_tune-x86}"
+# The following should likely be something other then i586...
+TUNE_PKGARCH_tune-c3 = "i586"
+PACKAGE_EXTRA_ARCHS_tune-c3 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586"