On Tue, Sep 15, 2026 at 12:03 PM Trevor Gamblin <[email protected]>
wrote:

> Add a new RISC-V tune option which adds the 'v' (vector) extension,
> compared to the default.
>
> Signed-off-by: Trevor Gamblin <[email protected]>
> ---
>  meta/conf/machine/include/riscv/tune-riscv.inc | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta/conf/machine/include/riscv/tune-riscv.inc
> b/meta/conf/machine/include/riscv/tune-riscv.inc
> index f55c122fe3..3eb057680a 100644
> --- a/meta/conf/machine/include/riscv/tune-riscv.inc
> +++ b/meta/conf/machine/include/riscv/tune-riscv.inc
> @@ -2,12 +2,15 @@ require conf/machine/include/riscv/arch-riscv.inc
>
>  DEFAULTTUNE ?= "riscv64gc"
>
> -AVAILTUNES += "riscv64gc riscv32gc riscv64nc riscv64nf riscv32nf"
> +AVAILTUNES += "riscv64gcv riscv64gc riscv32gc riscv64nc riscv64nf
> riscv32nf"
>
>  # Default
>  TUNE_FEATURES:tune-riscv64gc := "${@oe.tune.riscv_isa_to_tune("rv64gc")}"
>  PACKAGE_EXTRA_ARCHS:tune-riscv64gc = "${TUNE_RISCV_PKGARCH}"
>
> +TUNE_FEATURES:tune-riscv64gcv :=
> "${@oe.tune.riscv_isa_to_tune("rv64gcv")}"
> +PACKAGE_EXTRA_ARCHS:tune-riscv64gcv = "${TUNE_RISCV_PKGARCH}"
> +
>  TUNE_FEATURES:tune-riscv32 := "${@oe.tune.riscv_isa_to_tune("rv32gc")}"
>  PACKAGE_EXTRA_ARCHS:tune-riscv32gc = "${TUNE_RISCV_PKGARCH}"
>
>
So riscv32gc has no TUNE_FEATURES and riscv32 has no PACKAGE_EXTRA_ARCHS.
Nothing later in the series fixes it AFAICT. And
meta/conf/machine/qemuriscv32.conf:5 still says DEFAULTTUNE ?= "riscv32",
so qemuriscv32 ends up with an empty PACKAGE_EXTRA_ARCHS after this patch.


> --
> 2.55.0
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246248): 
https://lists.openembedded.org/g/openembedded-core/message/246248
Mute This Topic: https://lists.openembedded.org/mt/121267424/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to