mbox series

[v2,0/3] powerpc: Add flag to control VSX

Message ID 20220407005608.203359-1-joel@jms.id.au
Headers show
Series powerpc: Add flag to control VSX | expand

Message

Joel Stanley April 7, 2022, 12:56 a.m. UTC
Fabrice has been fixing powerpc build errors relating to VSX. Instead of
disabling the feature outright, add a BR2 flag so we only turn off VSX
where it's not supported.

Use this for flac and libnss.

Build tested with the ppc 602 configuration, with glibc and uclibc, and
with the power8 powernv defconfig.

This is v2 as Fabrice's libnss patch was v1:

 https://lore.kernel.org/buildroot/20220405213351.2487658-1-fontaine.fabrice@gmail.com/


Fabrice Fontaine (1):
  package/libnss: fix build on powerpc

Joel Stanley (2):
  arch/Config.in.powerpc: Add BR2_POWERPC_CPU_HAS_VSX
  package/flac: Configure powerpc vector extensions

 arch/Config.in.powerpc   |  5 +++++
 package/flac/flac.mk     | 12 +++++++++---
 package/libnss/libnss.mk |  5 +++++
 3 files changed, 19 insertions(+), 3 deletions(-)