summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2019-08-23 13:51:34 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-28 11:31:22 +0100
commita1a16df6ac5cde1b1bb266924ba6ec20bd5d4953 (patch)
treea32ba25eb8dffd545616bc8027da1f444dde2c61 /meta/conf/machine
parent8c6004341e538eb3c147c61d33c595ef3936467b (diff)
downloadpoky-a1a16df6ac5cde1b1bb266924ba6ec20bd5d4953.tar.gz
tune-arm1176jz-s.inc: add support for arm1176jz-s CPU specific tuning
(From OE-Core rev: 95823b7eab141f8969367c4f9b76b73bf2e664dc) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/include/tune-arm1176jz-s.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-arm1176jz-s.inc b/meta/conf/machine/include/tune-arm1176jz-s.inc
new file mode 100644
index 0000000000..c741e80521
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm1176jz-s.inc
@@ -0,0 +1,17 @@
1DEFAULTTUNE ?= "arm1176jzs"
2
3require conf/machine/include/arm/arch-armv6.inc
4
5TUNEVALID[arm1176jzs] = "Enable arm1176jzs specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzs', ' -mcpu=arm1176jz-s', '', d)}"
7MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzs', 'armv6:', '' ,d)}"
8
9AVAILTUNES += "arm1176jzs"
10ARMPKGARCH_tune-arm1176jzs = "arm1176jzs"
11TUNE_FEATURES_tune-arm1176jzs = "arm thumb arm1176jzs"
12PACKAGE_EXTRA_ARCHS_tune-arm1176jzs = "${PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp} arm1176jzs arm1176jzst"
13
14AVAILTUNES += "arm1176jzs-be"
15ARMPKGARCH_tune-arm1176jzs-be = "${ARMPKGARCH_tune-arm1176jzs}"
16TUNE_FEATURES_tune-arm1176jzs-be = "${TUNE_FEATURES_tune-arm1176jzs} bigendian"
17PACKAGE_EXTRA_ARCHS_tune-arm1176jzs-be = "${PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp} arm1176jzsb arm1176jzstb"