summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@sysam.it>2018-10-04 15:29:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-08 14:13:48 +0100
commit89e7192b607361769c03b939437c9815672ceadb (patch)
treebcc16824c1ebca581d76bc1140a9dd0c45041c2c
parent475ca28ab1b42fc0307669edae220afb97dd15c3 (diff)
downloadopenembedded-core-contrib-89e7192b607361769c03b939437c9815672ceadb.tar.gz
openembedded-core-contrib-89e7192b607361769c03b939437c9815672ceadb.tar.bz2
openembedded-core-contrib-89e7192b607361769c03b939437c9815672ceadb.zip
conf/machine/include: add mcf5441x cpu type tuning
This patch adds tuning for the mcf5441x ColdFire family. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/machine/include/tune-mcf5441x.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-mcf5441x.inc b/meta/conf/machine/include/tune-mcf5441x.inc
new file mode 100644
index 0000000000..11a41a7c5d
--- /dev/null
+++ b/meta/conf/machine/include/tune-mcf5441x.inc
@@ -0,0 +1,13 @@
+DEFAULTTUNE ?= "mcf5441x"
+
+require conf/machine/include/m68k/arch-m68k.inc
+
+TUNEVALID[mcf5441x] = "Enable coldfire specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mcf5441x', ' -mcpu=54418', '', d)}"
+
+AVAILTUNES += "mcf5441x"
+TUNE_FEATURES_tune-mcf5441x = "mcf5441x"
+TUNE_ARCH_tune-mcf5441x = "mcf5441x"
+TUNE_PKGARCH_tune-mcf5441x = "mcf5441x"
+PACKAGE_EXTRA_ARCHS_tune-mcf5441x = "m68k mcf5441x"
+