1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 17 unchanged lines hidden (view full) --- 26# 27# Authors: Nathan Binkert 28 29import os 30import sys 31from os.path import basename, exists, join as joinpath, normpath 32from os.path import isdir, isfile, islink 33 |
34spec_dist = os.environ.get('M5_CPU2000', '/dist/m5/cpu2000') |
35 36def copyfiles(srcdir, dstdir): 37 from filecmp import cmp as filecmp 38 from shutil import copyfile 39 40 srcdir = normpath(srcdir) 41 dstdir = normpath(dstdir) 42 --- 712 unchanged lines hidden --- |