diff options
author | Glenn Bergmans <glenn.bergmans@arm.com> | 2015-12-16 15:43:42 +0000 |
---|---|---|
committer | Curtis Dunham <curtis.dunham@arm.com> | 2018-01-29 22:20:06 +0000 |
commit | 3da05785813662f647b07400734337630a9f6f78 (patch) | |
tree | 10fc8a4b9265fc0b057e93f37d7f491c046c6f7d /src/python/SConscript | |
parent | 9f5b6e1b74c8289050836abdfb9c2539380f9105 (diff) | |
download | gem5-3da05785813662f647b07400734337630a9f6f78.tar.xz |
ext: DT autogeneration - Add PyFtd to m5 space
This patch adds pyfdt.py to the m5.ext module. This is used in
succeeding patches for generating and editing dtb files and flat
device trees for DT autogeneration.
The file is in the m5_root/src/python/m5/ext directory, as opposed to
the m5_root/ext, because this library is part of the m5 object space
and linking to the m5_root/ext directory from the SConscript file
in src/python can not be done reliably. Linking from the root level
SConscript is also not an option, because it doesn't have the PySource
method defined.
Cloned from: https://github.com/superna9999/pyfdt
Commit: accbcd254584c9295a18878d32999d0c7c156f8e
Version: 0.3
Change-Id: I928bdc912a9507d1f8a3290acf445c7cae496552
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5961
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/python/SConscript')
-rw-r--r-- | src/python/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/SConscript b/src/python/SConscript index cfd2afeff..c974238cd 100644 --- a/src/python/SConscript +++ b/src/python/SConscript @@ -63,6 +63,9 @@ PySource('m5.util', 'm5/util/pybind.py') PySource('m5.internal', 'm5/internal/__init__.py') PySource('m5.internal', 'm5/internal/params.py') +PySource('m5.ext', 'm5/ext/__init__.py') +PySource('m5.ext.pyfdt', 'm5/ext/pyfdt/pyfdt.py') +PySource('m5.ext.pyfdt', 'm5/ext/pyfdt/__init__.py') Source('pybind11/core.cc', add_tags='python') Source('pybind11/debug.cc', add_tags='python') |