scons: show sources and targets when building, and colorize output.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Sat, 8 Jan 2011 05:50:13 +0000 (21:50 -0800)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Sat, 8 Jan 2011 05:50:13 +0000 (21:50 -0800)
commitd650f4138eaa68c856d0879e39a78f66d205b017
tree257321d1adfe8559eca2f36c6f8c0a1319e2e7af
parentd36cc62c117c2ec37dd99b1e55f3663f4af65b8d
scons: show sources and targets when building, and colorize output.

I like the brevity of Ali's recent change, but the ambiguity of
sometimes showing the source and sometimes the target is a little
confusing.  This patch makes scons typically list all sources and
all targets for each action, with the common path prefix factored
out for brevity.  It's a little more verbose now but also more
informative.

Somehow Ali talked me into adding colors too, which is a whole
'nother story.
SConstruct [changed mode: 0644->0755]
src/SConscript [changed mode: 0644->0755]
src/arch/SConscript
src/arch/isa_parser.py
src/python/SConscript
src/python/m5/util/terminal.py [new file with mode: 0644]