diff options
Diffstat (limited to 'meta/conf/machine/include/tune-ppce500v2.inc')
-rw-r--r-- | meta/conf/machine/include/tune-ppce500v2.inc | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-ppce500v2.inc b/meta/conf/machine/include/tune-ppce500v2.inc index daf2d58005..819d68a50e 100644 --- a/meta/conf/machine/include/tune-ppce500v2.inc +++ b/meta/conf/machine/include/tune-ppce500v2.inc | |||
@@ -1,5 +1,16 @@ | |||
1 | DEFAULTTUNE ?= "ppce500v2" | ||
2 | |||
1 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 4 | ||
3 | TUNE_CCARGS = "-mcpu=8548 -mabi=spe -mspe" | 5 | TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations" |
4 | TUNE_PKGARCH = "ppce500v2" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "-mcpu=8548", "", d)}" |
5 | PACKAGE_EXTRA_ARCHS = "powerpc ppce500v2" | 7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "ppce500v2", "", d)}" |
8 | |||
9 | TUNEVALID[spe] = "Enable SPE ABI extensions" | ||
10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" | ||
11 | |||
12 | TARGET_FPU = "ppc-efd" | ||
13 | |||
14 | AVAILTUNES += "ppce500v2" | ||
15 | TUNE_FEATURES_tune-ppce500v2 = "m32 spe ppce500v2" | ||
16 | PACKAGE_EXTRA_ARCHS_tune-ppce500v2 = "ppce500v2" | ||