aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-distro
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-01 01:34:32 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-01 21:05:06 +0000
commit5a63eef23be9adb662a4dac8f13f7d64fd4ef673 (patch)
tree88ea547f11a0fda227b0253872a8f7ab1da5ada2 /meta-agl-distro
parentab98f7c53243d9d56c78dc4c6c94e11bebe27327 (diff)
Add support for cflags for pi0/1
Change-Id: I36f09230305ce19905b80f90beae7021f301bddf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9593 Reviewed-by: Martin Kelly <mkelly@xevo.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Diffstat (limited to 'meta-agl-distro')
-rw-r--r--meta-agl-distro/conf/distro/include/arm-tune.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-agl-distro/conf/distro/include/arm-tune.inc b/meta-agl-distro/conf/distro/include/arm-tune.inc
index 5aebd53be..fa68e05a7 100644
--- a/meta-agl-distro/conf/distro/include/arm-tune.inc
+++ b/meta-agl-distro/conf/distro/include/arm-tune.inc
@@ -6,7 +6,16 @@
# medium profile boards need to
# include conf/machine/include/arch/arm-armv7-a.inc
-DEFAULTTUNE = "${@bb.utils.contains('DISTRO_FEATURES', 'agl-medium-arm-compiler', 'armv7athf-neon', 'armv7vethf-neon-vfpv4', d)}"
+# Standard target for 32bit ARM (newer than cortex-a15)
+AGLDEFAULTTUNE = "armv7vethf-neon-vfpv4"
+
+# for cortex-a8, cortex-a9, cortex-a7 (=rpi 2/3)
+AGLDEFAULTTUNE := "${@bb.utils.contains('DISTRO_FEATURES', 'agl-medium-arm-compiler', 'armv7athf-neon', '${AGLDEFAULTTUNE}', d)}"
+
+# for armv6 (=rpi0/1)
+AGLDEFAULTTUNE := "${@bb.utils.contains('DISTRO_FEATURES', 'agl-low-arm-compiler', 'arm1176jzfshf', '${AGLDEFAULTTUNE}', d)}"
+DEFAULTTUNE := "${AGLDEFAULTTUNE}"
+
QB_SYSTEM_NAME ?= "qemu-system-arm"
QB_DEFAULT_KERNEL ?= "zImage"
QB_DEFAULT_FSTYPE ?= "ext4"