path: root/meta-agl-distro/conf/distro/include/
diff options
authorJan-Simon Möller <>2017-04-26 14:13:08 +0200
committerJan-Simon Möller <>2017-04-29 01:38:06 +0200
commit039cec7ba48f8340c159d10b7da91d1f35e6449a (patch)
tree6b80010cd1d01deee59acb439fe3826527b672d4 /meta-agl-distro/conf/distro/include/
parentd9a02b96ebbf689395521d95f712107bf2631867 (diff)
Enforce unified tunings across all target boards of AGLsandbox/jsmoeller/defaulttune
DEFAULTTUNE is a setting that should be defined in the DISTRO. So we do it here. Goal is to have just 3-4 SDKs in the end. We use these levels: - ARM 32bit high: armv7vethf-neon-vfpv4 (=default) - ARM 32bit medium: armv7athf-neon (enablevia DISTRO_FEATURE) - AARCH64: aarch64 - x86-64: corei7-64 Change-Id: Icfafc83bf947170cfe440a4b3d842ec21d3bdaf8 Signed-off-by: Jan-Simon Möller <>
Diffstat (limited to 'meta-agl-distro/conf/distro/include/')
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-agl-distro/conf/distro/include/ b/meta-agl-distro/conf/distro/include/
new file mode 100644
index 000000000..58fff1b06
--- /dev/null
+++ b/meta-agl-distro/conf/distro/include/
@@ -0,0 +1,11 @@
+# We should not need any includes as the board should include the right set already. This is just for reference.
+# high profile boards need to
+# include conf/machine/include/arm/
+# medium profile boards need to
+# include conf/machine/include/arch/
+DEFAULTTUNE = "${@bb.utils.contains('DISTRO_FEATURES', 'agl-medium-arm-compiler', 'armv7athf-neon', 'armv7vethf-neon-vfpv4', d)}"
+QB_SYSTEM_NAME ?= "qemu-system-arm"
+QB_MACHINE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'agl-medium-arm-compiler', '-machine vexpress-a9', '-machine vexpress-a15', d)}"
+QB_CPU ?= "${@bb.utils.contains('DISTRO_FEATURES', 'agl-medium-arm-compiler', '-cpu cortex-a9', '-cpu cortex-a15', d)}"