-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake: syscall macro's are not generated for out of tree DTS_ROOT #20140
Comments
Hi, I added support for this in #7328 , but at that time it was believed that we should not support out-of-tree declarations of syscalls. Perhaps @andrewboie or @nashif could comment on if things have changed and we now want to support this or not.
-- @andrewboie |
@nashif, @andrewboie, supporting out-of-tree declarations of syscalls allows development of subsystems to take place before it is integrated into zephyr. This can avoid disturbances inside the tree, only when the development is mature enough it could be added to the tree. I think there are other use cases as well, e.g. development of subsystems that will never go into the tree because of licensing, ownership, ... |
I won't stand in the way if you choose to resurrect that patch. |
Will get this supported then. |
Describe the bug
When using a custom device tree with:
include files that are under the
DTS_ROOT/include
are not added to the syscall_macros list.To Reproduce
#include <syscalls/your_header.h> no such file or directory
Expected behavior
It should be possible to add header that uses __syscall declarations in a out of tree devicetree.
Impact
The behavior makes it impossible to use out of tree dts.
The text was updated successfully, but these errors were encountered: