rptun: select SCHED_WAITPID as dependency#18415
rptun: select SCHED_WAITPID as dependency#18415mzanders wants to merge 1 commit intoapache:masterfrom
Conversation
drivers/rptun/Kconfig
Outdated
| bool "Remote Proc Tunnel Driver Support" | ||
| default n | ||
| select RPMSG_VIRTIO | ||
| select SCHED_WAITPID |
There was a problem hiding this comment.
It is preferred to use the depends on keyword here.
rptun.c calls nxsched_waitpid(). Make the dependency explicit to avoid build issues.
fa1bec5 to
3bc7eec
Compare
There was a problem hiding this comment.
Aah, git commit sign missing (git commit -s plz) + build and runtime test logs required :-P
See https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md :D
|
@cederom you're right on requesting a log. I tested on my board (iMX93 under development) which obviously was OK. But when testing for other builds (imx95-evk:rpmsg in this case), I got into dependency loop hell which I really can't trace down to where the dependency chain should be cut... :-( |
|
This is why we prefer You may want to replace |
|
No need to close this PR, go fight until the solution is found! :-) |
I'll be back. With even more fixes! |
rptun.c calls nxsched_waitpid(). Make the dependency explicit to avoid build issues.
Summary
Using RPTUN requires manual selection of SCHED_WAITPID which is
not obvious. Automate this through Kconfig.
Impact
None. Build fails when not SCHED_WAITPID selected in defconfig.
Testing
This is a trivial change.
Build rptun without SCHED_WAITPID > fails.
With fix, regenerate .config and build succeeds.