summaryrefslogtreecommitdiff
path: root/sim/pyconfig/m5config.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-03-08 22:07:26 -0500
committerNathan Binkert <binkertn@umich.edu>2005-03-08 22:07:26 -0500
commit689f6d1b02f788ecd2a44ff4ca010acc38d14954 (patch)
tree99a5144a8f4d07f3f368c41390102e8f0da99927 /sim/pyconfig/m5config.py
parent550e6a5010602049b9be426ba41939ee7167ccd9 (diff)
downloadgem5-689f6d1b02f788ecd2a44ff4ca010acc38d14954.tar.xz
Split the string importer from the rest of the mpy parsing
and importing stuff to avoid some confusion. sim/pyconfig/SConscript: Split the string importer from the rest of the importer code. The importer.py code can be embedded like m5config.py sim/pyconfig/m5config.py: import what we need from importer --HG-- extra : convert_revision : 9d57f43381b55e717b5b10adfb8f0a522280ac57
Diffstat (limited to 'sim/pyconfig/m5config.py')
-rw-r--r--sim/pyconfig/m5config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/pyconfig/m5config.py b/sim/pyconfig/m5config.py
index 7b1719dfa..f7bc90061 100644
--- a/sim/pyconfig/m5config.py
+++ b/sim/pyconfig/m5config.py
@@ -26,6 +26,9 @@
from __future__ import generators
import os, re, sys, types, inspect
+
+from importer import AddToPath, LoadMpyFile
+
noDot = False
try:
import pydot