diff options
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/tune-ppc440.inc | 11 | ||||
-rw-r--r-- | conf/machine/include/tune-ppc476.inc | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc new file mode 100644 index 0000000..6262fb7 --- /dev/null +++ b/conf/machine/include/tune-ppc440.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | DEFAULTTUNE ?= "ppc440" | ||
2 | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | ||
4 | |||
5 | TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" | ||
7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "", d)}" | ||
8 | |||
9 | AVAILTUNES = "ppc440" | ||
10 | TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc440 = "powerpc-nf ppc440 ppc405" | ||
diff --git a/conf/machine/include/tune-ppc476.inc b/conf/machine/include/tune-ppc476.inc new file mode 100644 index 0000000..a34690f --- /dev/null +++ b/conf/machine/include/tune-ppc476.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | DEFAULTTUNE ?= "ppc476" | ||
2 | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | ||
4 | |||
5 | AVAILTUNES += "ppc476" | ||
6 | TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476" | ||
7 | TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations" | ||
8 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc476", "-mcpu=476", "", d)}" | ||
9 | TUNE_PKGARCH_tune-ppc476 = "ppc476" | ||
10 | |||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc476 = "powerpc-nf ppc476 ppc440 ppc405" | ||