Skip to content

Commit 4ea1d13

Browse files
netutils/rexecd: forward PRIORITY/STACKSIZE config in CMake build
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>
1 parent 01c6a60 commit 4ea1d13

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

netutils/rexecd/CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,13 @@
2121
# ##############################################################################
2222

2323
if(CONFIG_NETUTILS_REXECD)
24-
nuttx_add_application(NAME rexecd SRCS rexecd.c)
24+
nuttx_add_application(
25+
NAME
26+
rexecd
27+
SRCS
28+
rexecd.c
29+
STACKSIZE
30+
${CONFIG_NETUTILS_REXECD_STACKSIZE}
31+
PRIORITY
32+
${CONFIG_NETUTILS_REXECD_PRIORITY})
2533
endif()

0 commit comments

Comments
 (0)