aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Cody P Schafer <cody@linux.vnet.ibm.com>2014-05-12 22:28:17 -0700
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-26 21:14:08 +0200
commit40e58dab0cc2de728c1363b4aa14c252559c93db (patch)
tree5b9b8fcd207d5df355455d5973cdf0ca6e734c28 /arch
parentb4c824562bb120796ff0f5b90ebd7233929a3ffa (diff)
downloadbuildroot-40e58dab0cc2de728c1363b4aa14c252559c93db.tar.gz
buildroot-40e58dab0cc2de728c1363b4aa14c252559c93db.tar.bz2
powerpc: add BR2_POWERPC_CPU_HAS_ALTIVEC to replace adhoc deps/checks
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.powerpc6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc
index cb8935c9da..847910377b 100644
--- a/arch/Config.in.powerpc
+++ b/arch/Config.in.powerpc
@@ -1,3 +1,6 @@
+config BR2_POWERPC_CPU_HAS_ALTIVEC
+ bool
+
config BR2_POWERPC_CPU_HAS_SPE
bool
@@ -51,8 +54,10 @@ config BR2_powerpc_740
bool "740"
config BR2_powerpc_7400
bool "7400"
+ select BR2_POWERPC_CPU_HAS_ALTIVEC
config BR2_powerpc_7450
bool "7450"
+ select BR2_POWERPC_CPU_HAS_ALTIVEC
config BR2_powerpc_750
bool "750"
config BR2_powerpc_821
@@ -63,6 +68,7 @@ config BR2_powerpc_860
bool "860"
config BR2_powerpc_970
bool "970"
+ select BR2_POWERPC_CPU_HAS_ALTIVEC
config BR2_powerpc_8540
bool "8540 / e500v1"
select BR2_POWERPC_CPU_HAS_SPE