summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/rust-common.inc
diff options
context:
space:
mode:
authorSundeep KOKKONDA <sundeep.kokkonda@gmail.com>2022-05-21 10:05:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-07 11:53:26 +0100
commita394d454f8c422ad41e7fc9ce3900c23d15ba435 (patch)
treedd9702546d775f903afb93df6f049cdb1cfaafae /meta/recipes-devtools/rust/rust-common.inc
parent8286eaeff1799d215d23238c9c5e707d5b31bac3 (diff)
downloadpoky-a394d454f8c422ad41e7fc9ce3900c23d15ba435.tar.gz
rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
The do_rust_gen_targets task was not rerunning when the configuration variables it uses were changed. Add the missing variable dependencies to fix this. [RP: Split to separate patch and add commit message] (From OE-Core rev: 84e891d812874311b4afa20fd7d3dc4c457009f6) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 65ce2d129154d4540cb8ec960971bcf6aa5a9480) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-common.inc')
-rw-r--r--meta/recipes-devtools/rust/rust-common.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc
index 310aecef22..29b17cb955 100644
--- a/meta/recipes-devtools/rust/rust-common.inc
+++ b/meta/recipes-devtools/rust/rust-common.inc
@@ -360,6 +360,8 @@ def rust_gen_target(d, thing, wd, features, cpu, arch, abi=""):
360 with open(wd + sys + '.json', 'w') as f: 360 with open(wd + sys + '.json', 'w') as f:
361 json.dump(tspec, f, indent=4) 361 json.dump(tspec, f, indent=4)
362 362
363do_rust_gen_targets[vardeps] += "DATA_LAYOUT LLVM_TARGET TARGET_ENDIAN TARGET_POINTER_WIDTH TARGET_C_INT_WIDTH MAX_ATOMIC_WIDTH FEATURES"
364
363python do_rust_gen_targets () { 365python do_rust_gen_targets () {
364 wd = d.getVar('WORKDIR') + '/targets/' 366 wd = d.getVar('WORKDIR') + '/targets/'
365 build_arch = d.getVar('BUILD_ARCH') 367 build_arch = d.getVar('BUILD_ARCH')