diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-05 14:41:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-08 21:58:56 +0200 |
commit | 6d70c4df1678c8761884d89198781aa74f6c1974 (patch) | |
tree | 04c295afcc6d578ddbd2900fd476ab2e946546bc /rtemsspec/items.py | |
parent | spec: Move Timecounter Handler group (diff) | |
download | rtems-central-6d70c4df1678c8761884d89198781aa74f6c1974.tar.bz2 |
items: Add "initialize-links" option to ItemCache
Diffstat (limited to 'rtemsspec/items.py')
-rw-r--r-- | rtemsspec/items.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemsspec/items.py b/rtemsspec/items.py index 1adbcdc7..1bc29dec 100644 --- a/rtemsspec/items.py +++ b/rtemsspec/items.py @@ -755,8 +755,9 @@ class ItemCache: self._load_items(config) if post_process_load: post_process_load(self._items) - self._init_parents() - self._init_children() + if config.get("initialize-links", True): + self._init_parents() + self._init_children() spec_root = config["spec-type-root-uid"] if spec_root: self._root_type = _gather_spec_refinements(self[spec_root]) |