summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/rust-cross-canadian.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-01 22:50:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-02 15:15:51 +0100
commit3288587aeb009fb65652776242c0a526b90771e2 (patch)
treefacd6bb167777e9ae7978c50533d88d8319a3e84 /meta/recipes-devtools/rust/rust-cross-canadian.inc
parent808f700efcb98f5344c18db6c91b83a9e4bd15e8 (diff)
downloadpoky-3288587aeb009fb65652776242c0a526b90771e2.tar.gz
recipes: Update S = WORKDIR recipes to use ${S} correctly
Where recipes use S = ${WORKDIR}, ensure they are referencing ${S} correctly to access files as soon we want to stop doing this in WORKDIR at which point they would break unless corrected. (From OE-Core rev: f25dd633fffe6560f191526d1869e657e129bad9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust-cross-canadian.inc
index 7bfef6d175..f59fee7cdd 100644
--- a/meta/recipes-devtools/rust/rust-cross-canadian.inc
+++ b/meta/recipes-devtools/rust/rust-cross-canadian.inc
@@ -46,7 +46,7 @@ do_install () {
46 # where the context is easier to do the env maniupations needed 46 # where the context is easier to do the env maniupations needed
47 install -d ${SYS_BINDIR} 47 install -d ${SYS_BINDIR}
48 outfile="${SYS_BINDIR}/target-rust-ccld" 48 outfile="${SYS_BINDIR}/target-rust-ccld"
49 ${CC} ${WORKDIR}/target-rust-ccld.c -o $outfile 49 ${CC} ${S}/target-rust-ccld.c -o $outfile
50 chmod +x "$outfile" 50 chmod +x "$outfile"
51 create_sdk_wrapper "${SYS_BINDIR}/target-rust-ccld-wrapper" "CC" 51 create_sdk_wrapper "${SYS_BINDIR}/target-rust-ccld-wrapper" "CC"
52 52