diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-02-21 11:07:54 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-23 22:35:01 +0000 |
commit | 60c65379f1e1e5365313b6cd37c01b65902846f0 (patch) | |
tree | 0f609938b9757941fe9c2f3882354080e14be367 /meta/conf | |
parent | 74c6f625c618d50bb317478222e604867fb5e5ef (diff) | |
download | poky-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.inc | 3 |
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" | |||
28 | PACKAGE_EXTRA_ARCHS_tune-ppc64p9le = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64le} ppc64p9le" | 28 | PACKAGE_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 |
31 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}" | 31 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}" |
32 | GLIBC_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 |
35 | MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' qemu-usermode', '', d)}" | 34 | MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' qemu-usermode', '', d)}" |