summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-12-02 17:59:51 -0800
committerGabe Black <gabeblack@google.com>2019-12-07 00:04:40 +0000
commit3b9395cd02c9611f32cea1abead058fd4f171726 (patch)
tree1f429532b01f5977929845ffa8961b319c2fe030
parenta39c8db854c8e2a2c9101f556e67cad883ece433 (diff)
downloadgem5-3b9395cd02c9611f32cea1abead058fd4f171726.tar.xz
scons: Set the partial linking group for EXTRAS dirs.
Partial linking heuristically links together files in the same directory by setting a special automatic tag. That tag needs to also be maintained when scanning EXTRAS dirs so that they don't all get lumped in with the last normal directory that was processed. Change-Id: I2408ea0a1eeffcf6d9994c36415a35760b225b17 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23300 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
-rw-r--r--src/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript
index 15b801a1b..76bbb9e65 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -606,6 +606,7 @@ for extra_dir in extras_dir_list:
if 'SConscript' in files:
build_dir = joinpath(env['BUILDDIR'], root[prefix_len:])
+ Source.set_group(build_dir)
SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir)
for opt in export_vars: