diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-11-05 11:11:06 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-11-05 11:11:06 -0800 |
commit | 9098010e3fccf779786c7f0e1dfab9d522f72eb5 (patch) | |
tree | 688b989cf6d6d0fd081143835c3b5ba55b469c8d /src/mem/protocol/SConscript | |
parent | 058ccfc7fe7be1b7b7124ecdd0d9d79fe4d6a86f (diff) | |
download | gem5-9098010e3fccf779786c7f0e1dfab9d522f72eb5.tar.xz |
slicc: tweak file enumeration for scons
Right now .cc and .hh files are handled separately, but then
they're just munged together at the end by scons, so it
doesn't buy us anything. Might as well munge from the start
since we'll eventually be adding generated Python files
to the list too.
Diffstat (limited to 'src/mem/protocol/SConscript')
-rw-r--r-- | src/mem/protocol/SConscript | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/protocol/SConscript b/src/mem/protocol/SConscript index 948fd6c1a..cd9920d22 100644 --- a/src/mem/protocol/SConscript +++ b/src/mem/protocol/SConscript @@ -69,9 +69,7 @@ def slicc_emitter(target, source, env): for name in slicc.load(files, verbose=True): print " %s" % name - hh,cc = slicc.files() - target.extend(sorted(hh)) - target.extend(sorted(cc)) + target.extend(sorted(slicc.files())) return target, source def slicc_action(target, source, env): |