summaryrefslogtreecommitdiff
path: root/build/SConstruct
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-03-14 14:43:10 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-03-14 14:43:10 -0500
commitbc2923f78d739ad5ff42dee402c5ba27c02004f1 (patch)
treeef28499b8358c1d655f1512a90f5cba0dcf94565 /build/SConstruct
parent076e1ebac2db58ae89e21041288f8c277a54a137 (diff)
downloadgem5-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/SConstruct')
-rw-r--r--build/SConstruct3
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'))
+
###################################################
#