squeekboard: set correct rust target

$HOST_SYS Rust target is not recognized by Rust provided by oe-core and
meta-lts-mixins layers, the correct one should be $RUST_HOST_SYS.

Fixes the following compilation error:

  error: Error loading target specification: Could not find specification
         for target "aarch64-poky-linux". Run `rustc --print target-list`
         for a list of built-in targets

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-06-26 13:20:27 +02:00
parent cacc737e24
commit 97b69bf921
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ S = "${WORKDIR}/git"
inherit cargo meson rust pkgconfig inherit cargo meson rust pkgconfig
EXTRA_OEMESON = "\ EXTRA_OEMESON = "\
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \ -Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
-Dtests=false \ -Dtests=false \
-Ddepdatadir=${datadir} \ -Ddepdatadir=${datadir} \
-Donline=true \ -Donline=true \

View File

@ -260,7 +260,7 @@ S = "${WORKDIR}/git"
inherit cargo meson rust pkgconfig inherit cargo meson rust pkgconfig
EXTRA_OEMESON = "\ EXTRA_OEMESON = "\
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \ -Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
-Dtests=false \ -Dtests=false \
-Ddepdatadir=${datadir} \ -Ddepdatadir=${datadir} \
-Donline=false \ -Donline=false \