summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-04-15 16:25:14 -0700
committerNathan Binkert <nate@binkert.org>2010-04-15 16:25:14 -0700
commit4225a68a9538401d9f5e772d8d090e57eb7adb7b (patch)
tree5eba1f829fa7b721ced468e928d815daa05cdef7 /src/SConscript
parente99828b06a1b694b7aca09682ae2b1be9089af88 (diff)
downloadgem5-4225a68a9538401d9f5e772d8d090e57eb7adb7b.tar.xz
scons: don't maintain files in sorted order
This causes builds to happen in sorted order rather than in declaration order. This gets annoying when you make a global change and then you notice that the files that are being compiled are jumping around the directory hierarchy.
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index d02d2a6e7..51616701b 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -88,7 +88,7 @@ class SourceFile(object):
for base in type(self).__mro__:
if issubclass(base, SourceFile):
- bisect.insort_right(base.all, self)
+ base.all.append(self)
def __lt__(self, other): return self.filename < other.filename
def __le__(self, other): return self.filename <= other.filename