Patchwork arch-powerpc.inc: add altivec as a valid tune feature

login
register
mail settings
Submitter Matthew McClintock
Date Sept. 18, 2012, 10:08 p.m.
Message ID <1348006091-14992-3-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/36863/
State Accepted
Commit 026f8bc59b6c4cc23cc8a706117bf5b3555f2c7a
Headers show

Comments

Matthew McClintock - Sept. 18, 2012, 10:08 p.m.
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/conf/machine/include/powerpc/arch-powerpc.inc |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc
index 12909d9..ae81cde 100644
--- a/meta/conf/machine/include/powerpc/arch-powerpc.inc
+++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc
@@ -19,6 +19,8 @@  TUNEVALID[fpu-soft] = "Use software FPU."
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}"
 TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}"
 
+TUNEVALID[altivec] = "Altivec"
+
 # Basic tune definitions
 AVAILTUNES += "powerpc powerpc-nf" 
 TUNE_FEATURES_tune-powerpc-nf = "m32 fpu-soft"