diff options
author | Jon Mason <jdmason@kudzu.us> | 2021-08-16 18:01:42 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-18 17:01:06 +0100 |
commit | 1d381f21f5f13aa0c4e1a45683ed656ebeedd37d (patch) | |
tree | 457112a9d6561423bab62effe4e46ebc7988dfc2 /meta/conf/machine/include/powerpc/tune-power9.inc | |
parent | d9878e12b8b78074be1019679ce078940a79c875 (diff) | |
download | poky-1d381f21f5f13aa0c4e1a45683ed656ebeedd37d.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.
(From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/powerpc/tune-power9.inc')
-rw-r--r-- | meta/conf/machine/include/powerpc/tune-power9.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/conf/machine/include/powerpc/tune-power9.inc b/meta/conf/machine/include/powerpc/tune-power9.inc new file mode 100644 index 0000000000..6744731f8e --- /dev/null +++ b/meta/conf/machine/include/powerpc/tune-power9.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | DEFAULTTUNE ?= "ppc64p9le" | ||
2 | |||
3 | require conf/machine/include/powerpc/arch-powerpc64.inc | ||
4 | |||
5 | TUNEVALID[power9] = "Enable IBM Power9 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' -mcpu=power9', '', d)}" | ||
7 | |||
8 | AVAILTUNES += "ppcp9 ppc64p9 ppcp9le ppc64p9le" | ||
9 | |||
10 | TUNE_FEATURES:tune-ppcp9 = "m32 fpu-hard power9 altivec bigendian" | ||
11 | BASE_LIB:tune-ppcp9 = "lib" | ||
12 | TUNE_PKGARCH:tune-ppcp9 = "ppcp9" | ||
13 | PACKAGE_EXTRA_ARCHS:tune-ppcp9 = "${PACKAGE_EXTRA_ARCHS:tune-powerpc} ppcp9" | ||
14 | |||
15 | TUNE_FEATURES:tune-ppc64p9 = "m64 fpu-hard power9 altivec bigendian" | ||
16 | BASE_LIB:tune-ppc64p9 = "lib64" | ||
17 | TUNE_PKGARCH:tune-ppc64p9 = "ppc64p9" | ||
18 | PACKAGE_EXTRA_ARCHS:tune-ppc64p9 = "${PACKAGE_EXTRA_ARCHS:tune-powerpc64} ppc64p9" | ||
19 | |||
20 | TUNE_FEATURES:tune-ppcp9le = "m32 fpu-hard power9 altivec" | ||
21 | BASE_LIB:tune-ppcp9le = "lib" | ||
22 | TUNE_PKGARCH:tune-ppcp9le = "ppcp9le" | ||
23 | PACKAGE_EXTRA_ARCHS:tune-ppcp9le = "${PACKAGE_EXTRA_ARCHS:tune-powerpcle} ppcp9le" | ||
24 | |||
25 | TUNE_FEATURES:tune-ppc64p9le = "m64 fpu-hard power9 altivec" | ||
26 | BASE_LIB:tune-ppc64p9le = "lib64" | ||
27 | TUNE_PKGARCH:tune-ppc64p9le = "ppc64p9le" | ||
28 | PACKAGE_EXTRA_ARCHS:tune-ppc64p9le = "${PACKAGE_EXTRA_ARCHS:tune-powerpc64le} ppc64p9le" | ||
29 | |||
30 | # glibc configure options to get power9 specific library | ||
31 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}" | ||