diff options
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/machine/include/tune-ppce300c3.inc | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/meta/conf/machine/include/tune-ppce300c3.inc b/meta/conf/machine/include/tune-ppce300c3.inc index 9431222284..b19cf220ba 100644 --- a/meta/conf/machine/include/tune-ppce300c3.inc +++ b/meta/conf/machine/include/tune-ppce300c3.inc | |||
@@ -2,10 +2,22 @@ DEFAULTTUNE ?= "ppce300c3" | |||
2 | 2 | ||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | AVAILTUNES += "ppce300c3 ppce300c3-nf" | ||
6 | |||
7 | # hard-float | ||
5 | TUNEVALID[ppce300c3] = "Enable ppce300c3 specific processor optimizations" | 8 | TUNEVALID[ppce300c3] = "Enable ppce300c3 specific processor optimizations" |
9 | TUNE_FEATURES_tune-ppce300c3 = "${TUNE_FEATURES_tune-powerpc} ppce300c3" | ||
10 | TUNE_PKGARCH_tune-ppce300c3 = "ppce300c3" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce300c3" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", " -mcpu=e300c3", "", d)}" | 12 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", " -mcpu=e300c3", "", d)}" |
7 | 13 | ||
8 | AVAILTUNES += "ppce300c3" | 14 | # glibc config options to make use of e300c3 (603e) specific sqrt/sqrtf routines |
9 | TUNE_FEATURES_tune-ppce300c3 = "m32 fpu-soft ppce300c3" | 15 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", "--with-cpu=e300c3", "", d)}" |
10 | TUNE_PKGARCH_tune-ppce300c3 = "ppce300c3" | 16 | |
11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c3" | 17 | # soft-float |
18 | TUNEVALID[ppce300c3-nf] = "Enable ppce300c3 specific processor optimizations (no fpu)" | ||
19 | TUNE_FEATURES_tune-ppce300c3-nf = "${TUNE_FEATURES_tune-powerpc-nf} ppce300c3-nf" | ||
20 | TUNE_PKGARCH_tune-ppce300c3-nf = "ppce300c3-nf" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3-nf = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c3-nf" | ||
22 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3-nf", " -mcpu=e300c3", "", d)}" | ||
23 | |||