aboutsummaryrefslogtreecommitdiffstats
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:31:26 +0000
commit6201018650fe8966b99860bbda24c5903e7d7a60 (patch)
tree432af3d43d60bb42a816281ddad16fd402210f80
parent998d15a86282d9cf57fbd0a4eb76a56b9938a348 (diff)
downloadopenembedded-core-contrib-6201018650fe8966b99860bbda24c5903e7d7a60.tar.gz
openembedded-core-contrib-6201018650fe8966b99860bbda24c5903e7d7a60.tar.bz2
openembedded-core-contrib-6201018650fe8966b99860bbda24c5903e7d7a60.zip
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 81d6e8e9bf2..e33536c241a 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"
PACKAGE_EXTRA_ARCHS_tune-ppc64p9le = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64le} ppc64p9le"
# glibc configure options to get power9 specific library
-GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}"
-GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}"
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}"
# QEMU usermode fails with invalid instruction error
MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' qemu-usermode', '', d)}"