summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/make_release.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/util/make_release.py b/util/make_release.py
index f07bafe3b..8d69614dc 100755
--- a/util/make_release.py
+++ b/util/make_release.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -127,6 +127,7 @@ rmtree(release_dir, 'configs/test')
rmtree(release_dir, 'configs/splash2')
rmtree(release_dir, 'tests/long/*/ref')
rmtree(release_dir, 'tests/old')
+rmtree(release_dir, 'src/dev/i8*')
# get rid of some of private scripts
remove(release_dir, 'util/chgcopyright')
@@ -143,6 +144,20 @@ for line in inscript:
outscript.write(line)
outscript.close()
+# fix up the SConscript to deal with files we've removed
+mem_expr = re.compile('.*i8254xGBe.*')
+inscript = file(joinpath(release_dir, 'src', 'dev', 'SConscript'), 'r').readlines()
+outscript = file(joinpath(release_dir, 'src', 'dev', 'SConscript'), 'w')
+for line in inscript:
+ if mem_expr.match(line):
+ continue
+
+ outscript.write(line)
+outscript.close()
+
+
+
+
benches = [ 'bzip2', 'eon', 'gzip', 'mcf', 'parser', 'perlbmk',
'twolf', 'vortex' ]
for bench in benches: