From 5a63eef23be9adb662a4dac8f13f7d64fd4ef673 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 1 Jun 2017 01:34:32 +0200 Subject: Add support for cflags for pi0/1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I36f09230305ce19905b80f90beae7021f301bddf Signed-off-by: Jan-Simon Möller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9593 Reviewed-by: Martin Kelly ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account --- meta-agl-distro/conf/distro/include/arm-tune.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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" -- cgit 1.2.3-korg