summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-06-29 07:10:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-01 15:40:00 +0100
commitb78b1a6bb82fb864f1f857bf7259908d0ed930b5 (patch)
tree002b8ff7b9d3c35a876277dfe32dd3029e9d71ef /meta/conf/machine
parent5c71337cd79b03322f39e56c22c3e7634a2d9abd (diff)
downloadpoky-b78b1a6bb82fb864f1f857bf7259908d0ed930b5.tar.gz
tune-i586-nlp: Add new tune file to support Quark/X1000 CPU
This tune file is needed to enable a GAS option specific to this cpu family in order to disable the usage of lock prefix instructions. (From OE-Core rev: 7eb0abc5f4d971d9a511c93cfb2eb52b72e6f228) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/include/tune-i586-nlp.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-i586-nlp.inc b/meta/conf/machine/include/tune-i586-nlp.inc
new file mode 100644
index 0000000000..e30602bd30
--- /dev/null
+++ b/meta/conf/machine/include/tune-i586-nlp.inc
@@ -0,0 +1,19 @@
1# Settings for the GCC(1) cpu-type "quark":
2#
3#
4#
5DEFAULTTUNE ?= "i586-nlp-32"
6
7# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
8require conf/machine/include/x86/arch-x86.inc
9
10# x86 with no lock prefix
11TUNEVALID[i586-nlp] = "IA32 with Lock Prefix omitted"
12TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "i586-nlp", " -march=i586 -Wa,-momit-lock-prefix=yes", "", d)}"
13
14# Quark tune feature
15AVAILTUNES = "i586-nlp-32"
16TUNE_FEATURES_tune-i586-nlp-32 = "${TUNE_FEATURES_tune-x86} i586-nlp"
17BASE_LIB_tune-i586-nlp-32 = "lib"
18TUNE_PKGARCH_tune-i586-nlp-32 = "i586-nlp-32"
19PACKAGE_EXTRA_ARCHS_tune-i586-nlp-32 = "i586-nlp-32"