]> code.ossystems Code Review - openembedded-core.git/commitdiff
conf/machine/include: add mcf5441x cpu type tuning
authorAngelo Dureghello <angelo@sysam.it>
Thu, 4 Oct 2018 13:29:53 +0000 (15:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Oct 2018 13:13:48 +0000 (14:13 +0100)
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>
meta/conf/machine/include/tune-mcf5441x.inc [new file with mode: 0644]

diff --git a/meta/conf/machine/include/tune-mcf5441x.inc b/meta/conf/machine/include/tune-mcf5441x.inc
new file mode 100644 (file)
index 0000000..11a41a7
--- /dev/null
@@ -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"
+