From 89e7192b607361769c03b939437c9815672ceadb Mon Sep 17 00:00:00 2001 From: Angelo Dureghello Date: Thu, 4 Oct 2018 15:29:53 +0200 Subject: conf/machine/include: add mcf5441x cpu type tuning This patch adds tuning for the mcf5441x ColdFire family. Signed-off-by: Angelo Dureghello Signed-off-by: Richard Purdie --- 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" + -- cgit 1.2.3-korg