[OE-core] [PATCH 4/4] conf/machine/include: add mcf5441x cpu type tuning

Angelo Dureghello angelo at sysam.it
Thu Oct 4 13:29:53 UTC 2018


This patch adds tuning for the mcf5441x ColdFire family.

Signed-off-by: Angelo Dureghello <angelo at sysam.it>
---
 meta/conf/machine/include/tune-mcf5441x.inc | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-mcf5441x.inc

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"
+
-- 
2.11.0




More information about the Openembedded-core mailing list