summaryrefslogtreecommitdiffstats
path: root/rtemsspec/interface.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-08 12:37:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-08 16:01:11 +0200
commita596b89343c5c8896a245bd69655a7c1721b2bdc (patch)
tree0dd98ac73e9b9874a2436a12337126a585848128 /rtemsspec/interface.py
parentspec: Remove unspecified-macro-or-function (diff)
downloadrtems-central-a596b89343c5c8896a245bd69655a7c1721b2bdc.tar.bz2
spec: Add unspecified header file item type
Diffstat (limited to 'rtemsspec/interface.py')
-rw-r--r--rtemsspec/interface.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index d31bcb0e..c1655c4c 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -740,7 +740,10 @@ class _HeaderFile:
def add_includes(self, item: Item) -> None:
""" Adds the includes of the item to the header file includes. """
for parent in item.parents("interface-placement"):
- if parent.type == "interface/header-file":
+ if parent.type in [
+ "interface/header-file",
+ "interface/unspecified-header-file"
+ ]:
self._includes.append(parent)
def _add_child(self, item: Item) -> None: