summaryrefslogtreecommitdiff
path: root/build/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'build/SConstruct')
-rw-r--r--build/SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/SConstruct b/build/SConstruct
index 3d7db1db2..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'))
+
###################################################
#
@@ -289,7 +292,7 @@ for build_dir in build_dirs:
###################################################
#
# Let SCons do its thing. At this point SCons will use the defined
-# build enviornments to build the requested targets.
+# build environments to build the requested targets.
#
###################################################