From 4fbce4ea35a0c86313f11200f9496878f8a45d73 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 27 Aug 2022 22:42:33 +0200 Subject: [PATCH] arch/Config.in.powerpc: VSX implies altivec As spotted by Yann E. Morin in https://patchwork.ozlabs.org/project/buildroot/patch/20220823212219.5066-1-fontaine.fabrice@gmail.com, VSX is an extension to AltiVec: https://en.wikipedia.org/wiki/AltiVec#VSX_(Vector_Scalar_Extension) Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- arch/Config.in.powerpc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc index c48edd3bb4..9fa0be0d73 100644 --- a/arch/Config.in.powerpc +++ b/arch/Config.in.powerpc @@ -3,6 +3,7 @@ config BR2_POWERPC_CPU_HAS_ALTIVEC config BR2_POWERPC_CPU_HAS_VSX bool + select BR2_POWERPC_CPU_HAS_ALTIVEC config BR2_POWERPC_CPU_HAS_SPE bool @@ -135,11 +136,9 @@ config BR2_powerpc_power6 select BR2_POWERPC_CPU_HAS_ALTIVEC config BR2_powerpc_power7 bool "power7" - select BR2_POWERPC_CPU_HAS_ALTIVEC select BR2_POWERPC_CPU_HAS_VSX config BR2_powerpc_power8 bool "power8" - select BR2_POWERPC_CPU_HAS_ALTIVEC select BR2_POWERPC_CPU_HAS_VSX endchoice