diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-08 12:37:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-08 16:01:11 +0200 |
commit | a596b89343c5c8896a245bd69655a7c1721b2bdc (patch) | |
tree | 0dd98ac73e9b9874a2436a12337126a585848128 /rtemsspec/interface.py | |
parent | spec: Remove unspecified-macro-or-function (diff) | |
download | rtems-central-a596b89343c5c8896a245bd69655a7c1721b2bdc.tar.bz2 |
spec: Add unspecified header file item type
Diffstat (limited to 'rtemsspec/interface.py')
-rw-r--r-- | rtemsspec/interface.py | 5 |
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: |