From 4be167d442ce00b3e54d2a68842863664f2466a5 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Tue, 11 Aug 2020 11:03:11 -0700 Subject: riscv64-tune.inc: Initial commit of RISC-V tune Signed-off-by: Alistair Francis Change-Id: I8e575ae9f3d49adfe82ba6473fafa3ee676f6683 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25104 Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- meta-agl-distro/conf/distro/include/riscv64-tune.inc | 7 +++++++ meta-agl-distro/conf/distro/poky-agl.conf | 1 + 2 files changed, 8 insertions(+) create mode 100644 meta-agl-distro/conf/distro/include/riscv64-tune.inc (limited to 'meta-agl-distro') 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 -- cgit 1.2.3-korg