From 2448ad26876564f480afc8c7c968fc44666decb3 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Thu, 7 Apr 2022 10:26:06 +0930 Subject: [PATCH] arch/Config.in.powerpc: Add BR2_POWERPC_CPU_HAS_VSX Introduced to allow VSX to be selectively enabled for packages that support it. Initially used by libnss. Signed-off-by: Joel Stanley Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- arch/Config.in.powerpc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc index 4a39cfee70..272f66f4e7 100644 --- a/arch/Config.in.powerpc +++ b/arch/Config.in.powerpc @@ -1,6 +1,9 @@ config BR2_POWERPC_CPU_HAS_ALTIVEC bool +config BR2_POWERPC_CPU_HAS_VSX + bool + config BR2_POWERPC_CPU_HAS_SPE bool @@ -123,9 +126,11 @@ config BR2_powerpc_power6 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 choice