[OE-core] [PATCH 2/2] new tune: add base cortexa53 support

Armin Kuster akuster808 at gmail.com
Mon Jul 31 17:16:07 UTC 2017


---
 meta/conf/machine/include/tune-cortexa53.inc | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-cortexa53.inc

diff --git a/meta/conf/machine/include/tune-cortexa53.inc b/meta/conf/machine/include/tune-cortexa53.inc
new file mode 100644
index 0000000..557f43d
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexa53.inc
@@ -0,0 +1,18 @@
+DEFAULTTUNE ?= "armv8-a"
+
+TUNEVALID[cortexa53] = "Enable Cortex-A53 specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa53', ' -mcpu=cortex-a53', '', d)}"
+
+require conf/machine/include/arm/arch-armv8.inc
+
+ARMPKGARCH_tune-cortexa53		= "cortexa53"
+ARMPKGARCH_tune-cortexa53-crypto	= "cortexa53"
+
+TUNE_FEATURES_tune-cortexa53		= "aarch64 armv8-a cortexa53"
+TUNE_FEATURES_tune-cortexa53-crypto	= "${TUNE_FEATURES_tune-cortexa53} crypto"
+
+PACKAGE_EXTRA_ARCHS_tune-cortexa53		= "aarch64 armv8-a cortexa53"
+PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto	= "${PACKAGE_EXTRA_ARCHS_tune-cortexa53} cortexa53-crypto"
+
+BASE_LIB_tune-cortexa53 = "${BASE_LIB_tune-aarch64}"
+BASE_LIB_tune-cortexa53-crypto = "${BASE_LIB_tune-aarch64}"
-- 
2.5.0




More information about the Openembedded-core mailing list