summaryrefslogtreecommitdiff
path: root/configs/common/cores
diff options
context:
space:
mode:
Diffstat (limited to 'configs/common/cores')
-rw-r--r--configs/common/cores/arm/__init__.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/common/cores/arm/__init__.py b/configs/common/cores/arm/__init__.py
index 7a2173eab..96388f731 100644
--- a/configs/common/cores/arm/__init__.py
+++ b/configs/common/cores/arm/__init__.py
@@ -34,3 +34,15 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Authors: Andreas Sandberg
+
+from pkgutil import iter_modules
+from importlib import import_module
+
+_cpu_modules = [
+ name for _, name, ispkg in iter_modules(__path__) if not ispkg
+]
+
+for c in _cpu_modules:
+ import_module("." + c, package=__package__)
+
+__all__ = _cpu_modules