summaryrefslogtreecommitdiffstats
path: root/meta-agl-distro
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-08-11 11:03:11 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-12-16 20:49:29 +0000
commit4be167d442ce00b3e54d2a68842863664f2466a5 (patch)
tree4f6c74f3ffc35c568827e0091cd279f04e322c38 /meta-agl-distro
parent3903550aa47775917963f87040ec96bed122cf7c (diff)
riscv64-tune.inc: Initial commit of RISC-V tune
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Change-Id: I8e575ae9f3d49adfe82ba6473fafa3ee676f6683 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25104 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-distro')
-rw-r--r--meta-agl-distro/conf/distro/include/riscv64-tune.inc7
-rw-r--r--meta-agl-distro/conf/distro/poky-agl.conf1
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-distro/conf/distro/include/riscv64-tune.inc b/meta-agl-distro/conf/distro/include/riscv64-tune.inc
new file mode 100644
index 000000000..f8118dec3
--- /dev/null
+++ b/meta-agl-distro/conf/distro/include/riscv64-tune.inc
@@ -0,0 +1,7 @@
+# DEFAULTTUNE overrides for AGL on riscv64
+
+# We should not need the tuning include below as the BSP should include the right set already.
+# A double inclusion would produce a warning. This include line is just for reference
+# include conf/machine/include/arm/arch-armv8.inc
+
+DEFAULTTUNE = "riscv64"
diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf
index 72af5d0cb..63a1960af 100644
--- a/meta-agl-distro/conf/distro/poky-agl.conf
+++ b/meta-agl-distro/conf/distro/poky-agl.conf
@@ -134,6 +134,7 @@ USER_CLASSES = "buildstats image-mklibs"
# - the medium setting is enabled with: DISTRO_FEATURES_append = " agl-medium-arm-compiler "
# 1 for ARM 64bit / AARCH64
# 1 for x86-64
+# 1 for RISC-V 64-bit
require conf/distro/include/${TARGET_ARCH}-tune.inc
# Generic qemu and qemuboot (runqemu) enhancements