Skip to content

netutils/rexecd: forward PRIORITY/STACKSIZE config in CMake build - #3655

Merged
acassis merged 1 commit into
apache:masterfrom
JianyuWang0623:netutils-rexecd-cmake-config
Jul 23, 2026
Merged

netutils/rexecd: forward PRIORITY/STACKSIZE config in CMake build#3655
acassis merged 1 commit into
apache:masterfrom
JianyuWang0623:netutils-rexecd-cmake-config

Conversation

@JianyuWang0623

Copy link
Copy Markdown
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

The Makefile build of netutils/rexecd already forwards the configured
task priority and stack size via the PRIORITY / STACKSIZE variables,
but the CMake build did not. As a result, CONFIG_NETUTILS_REXECD_PRIORITY
and CONFIG_NETUTILS_REXECD_STACKSIZE had no effect when building with CMake.

This change updates netutils/rexecd/CMakeLists.txt to pass STACKSIZE
(${CONFIG_NETUTILS_REXECD_STACKSIZE}) and PRIORITY
(${CONFIG_NETUTILS_REXECD_PRIORITY}) to nuttx_add_application(), aligning
the CMake build behavior with the existing Makefile build.

Impact

  • CMake build only; no new dependencies.

Testing

  • Before change: CMake build ignored the priority/stacksize config values.
  • After change: CMake build uses the configured priority/stacksize, consistent
    with the Makefile build.

@xiaoxiang781216

Copy link
Copy Markdown
Contributor

please rebase to the last master which fix the ci error. @JianyuWang0623

The Makefile build already forwards both values via PRIORITY /
STACKSIZE.  Align the CMake build with the Makefile so that
CONFIG_NETUTILS_REXECD_PRIORITY and CONFIG_NETUTILS_REXECD_STACKSIZE
take effect under CMake as well.

Assisted-by: GitHubCopilot:claude-4.8-opus
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
@JianyuWang0623
JianyuWang0623 force-pushed the netutils-rexecd-cmake-config branch from 4ea1d13 to cdf1f1a Compare July 22, 2026 11:30
@acassis
acassis merged commit 86afa6d into apache:master Jul 23, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants