aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-ppc603e.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/tune-ppc603e.inc')
-rw-r--r--meta/conf/machine/include/tune-ppc603e.inc12
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc
index 61c0669acf..7c053944aa 100644
--- a/meta/conf/machine/include/tune-ppc603e.inc
+++ b/meta/conf/machine/include/tune-ppc603e.inc
@@ -1,5 +1,11 @@
+DEFAULTTUNE ?= "ppc603e"
+
require conf/machine/include/powerpc/arch-powerpc.inc
-TUNE_CCARGS = "-mcpu=603e -mhard-float"
-TUNE_PKGARCH = "ppc603e"
-PACKAGE_EXTRA_ARCHS = "powerpc ppc603e"
+TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-mcpu=603e", "", d)}"
+TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "ppc603e", "", d)}"
+
+AVAILTUNES += "ppc603e"
+TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"
+PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e"