From: Ali Saidi Date: Mon, 9 Apr 2007 22:49:02 +0000 (-0400) Subject: add code to whack the intel gbe model from the relase.... it's not tested and it... X-Git-Tag: m5_2.0_beta3~43 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=438b951a5b5cd50d14f8c9a504f06ea1973a9cb7;p=gem5.git add code to whack the intel gbe model from the relase.... it's not tested and it's configuration is a hack --HG-- extra : convert_revision : b65cd6d9b45a67ba64ea398cf0c0ce28f91c7e27 --- 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: