Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
[gem5.git] / build / SConstruct
index a1f1cdc5c15d6a7167954c720dd25ca7e380c094..068158a4e93c76418625931f69014285eb449991 100644 (file)
@@ -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'))
+
 
 ###################################################
 #
@@ -294,7 +297,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.
 #
 ###################################################