diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-03-14 14:43:10 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-03-14 14:43:10 -0500 |
commit | bc2923f78d739ad5ff42dee402c5ba27c02004f1 (patch) | |
tree | ef28499b8358c1d655f1512a90f5cba0dcf94565 /build | |
parent | 076e1ebac2db58ae89e21041288f8c277a54a137 (diff) | |
download | gem5-bc2923f78d739ad5ff42dee402c5ba27c02004f1.tar.xz |
Move adding SRCDIR/python to sys.path from
multiple SConscript files to SConstruct.
build/SConstruct:
Add SRCDIR/python to sys.path here.
python/SConscript:
Move adding SRCDIR/python to sys.path to SConstruct.
--HG--
extra : convert_revision : f598d670650f5b4fd501caaf073fe38b44d21855
Diffstat (limited to 'build')
-rw-r--r-- | build/SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/SConstruct b/build/SConstruct index 0f688ac3b..e33373243 100644 --- a/build/SConstruct +++ b/build/SConstruct @@ -62,6 +62,9 @@ if not os.path.isdir('ext'): % EXT_SRCDIR sys.exit(1) +# tell python where to find m5 python code +sys.path.append(os.path.join(SRCDIR, 'python')) + ################################################### # |