summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-21 11:07:54 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-23 22:35:01 +0000
commit60c65379f1e1e5365313b6cd37c01b65902846f0 (patch)
tree0f609938b9757941fe9c2f3882354080e14be367 /meta/conf
parent74c6f625c618d50bb317478222e604867fb5e5ef (diff)
downloadpoky-60c65379f1e1e5365313b6cd37c01b65902846f0.tar.gz
glibc: Build for power9 cpu when using powerpc64le tunes
This makes sure that we can compile glibc for powerp9 based machines irrespective of endianness or bitness (From OE-Core rev: 6201018650fe8966b99860bbda24c5903e7d7a60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-power9.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/conf/machine/include/tune-power9.inc b/meta/conf/machine/include/tune-power9.inc
index 81d6e8e9bf..e33536c241 100644
--- a/meta/conf/machine/include/tune-power9.inc
+++ b/meta/conf/machine/include/tune-power9.inc
@@ -28,8 +28,7 @@ TUNE_PKGARCH_tune-ppc64p9le = "ppc64p9le"
28PACKAGE_EXTRA_ARCHS_tune-ppc64p9le = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64le} ppc64p9le" 28PACKAGE_EXTRA_ARCHS_tune-ppc64p9le = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64le} ppc64p9le"
29 29
30# glibc configure options to get power9 specific library 30# glibc configure options to get power9 specific library
31GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}" 31GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}"
32GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}"
33 32
34# QEMU usermode fails with invalid instruction error 33# QEMU usermode fails with invalid instruction error
35MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' qemu-usermode', '', d)}" 34MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' qemu-usermode', '', d)}"