diff options
author | Nathan Binkert <nate@binkert.org> | 2010-09-12 15:41:34 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-09-12 15:41:34 -0700 |
commit | 2edfcbbaee87c1a28351fc0dcd81d52d0d9102a4 (patch) | |
tree | 3436d2dad1d98f200566e719add526b135ae0e08 /src/arch/x86 | |
parent | afafaf1dcbab1fac3e3ba2f87dd5138d3ec08588 (diff) | |
download | gem5-2edfcbbaee87c1a28351fc0dcd81d52d0d9102a4.tar.xz |
swig: make all generated files go into the m5.internal package
This is necessary because versions of swig older than 1.3.39 fail to
do the right thing and try to do relative imports for everything (even
with the package= option to %module). Instead of putting params in
the m5.internal.params package, put params in the m5.internal package
and make all param modules start with param_. Same thing for
m5.internal.enums.
Also, stop importing all generated params into m5.objects. They are
not necessary and now with everything using relative imports we wound
up with pollution of the namespace (where builtin-range got overridden).
--HG--
rename : src/python/m5/internal/enums/__init__.py => src/python/m5/internal/enums.py
rename : src/python/m5/internal/params/__init__.py => src/python/m5/internal/params.py
Diffstat (limited to 'src/arch/x86')
0 files changed, 0 insertions, 0 deletions