diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-05-02 12:40:32 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-05-02 12:40:32 -0700 |
commit | 8ce85d3db6681084c5fe50bded0a312e550581ab (patch) | |
tree | 69c1198e08f04bb26970ab1ced937fc0fa0c0fb5 /src/cpu/nativetrace.cc | |
parent | f713af951a6bfd0953fba801b72513b82469fdeb (diff) | |
download | gem5-8ce85d3db6681084c5fe50bded0a312e550581ab.tar.xz |
scons: interpret paths relative to launch directory
Make sure all command-line targets and EXTRAS directories
are interpreted relative to the launch directory. This
turns out to be very useful when building code from an
EXTRAS directory using SCons's -C option.
We were trying to do this with targets but it didn't actually
work since we didn't update BUILD_TARGETS (so SCons got
confused internally). We weren't even trying with EXTRAS.
To simplify the code, the default target is also interpreted
relative to the launch dir even though it was explicitly
handled as relative to the m5 dir before... I doubt anyone
really uses this anyway so it didn't seem worth the complexity.
(Maybe we should get rid of it?)
Diffstat (limited to 'src/cpu/nativetrace.cc')
0 files changed, 0 insertions, 0 deletions