#!/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
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')
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: