Skip to contentSkip to conversation

glibc: Build for power9 cpu when using powerpc64le tunes

PATCH New Khem Raj 1 participant 1 message Feb 21, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 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

---
v2: Already had this in tune files so move the change there

 meta/conf/machine/include/tune-power9.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/conf/machine/include/tune-power9.inc +1 -2
index 81d6e8e9bf..e33536c241 100644
@@ -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)}"
Signature · 1 line
2.30.1