summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-18 21:38:03 -0800
committerGabe Black <gabeblack@google.com>2017-11-27 22:09:26 +0000
commit9185479ca1ce2f3f227d4a11f17717409aefb2f4 (patch)
tree5131f754a2141dc65c3bcf1f39627f05981208f4
parent85168c4e96ed8e3cbad0013102fa021561df49cd (diff)
downloadgem5-9185479ca1ce2f3f227d4a11f17717409aefb2f4.tar.xz
scons: Get rid of SourceFile's done function.
This function doesn't seem to be used by anything. A similar one off mechanism exists for SimObjects which is we might also be able to get rid of. Change-Id: I65038c3495fa69cf94042dc78f09876d5e9a557f Reviewed-on: https://gem5-review.googlesource.com/5841 Maintainer: Gabe Black <gabeblack@google.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
-rwxr-xr-xsrc/SConscript8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/SConscript b/src/SConscript
index da8476d6c..f9560afbc 100755
--- a/src/SConscript
+++ b/src/SConscript
@@ -152,14 +152,6 @@ class SourceFile(object):
def __eq__(self, other): return self.filename == other.filename
def __ne__(self, other): return self.filename != other.filename
- @staticmethod
- def done():
- def disabled(cls, name, *ignored):
- raise RuntimeError("Additional SourceFile '%s'" % name,\
- "declared, but targets deps are already fixed.")
- SourceFile.__init__ = disabled
-
-
class Source(SourceFile):
ungrouped_tag = 'No link group'
source_groups = set()