From a3b593a826d2117bcd61d8a4c6c9e788010448cf Mon Sep 17 00:00:00 2001 From: hanzj Date: Wed, 3 Jun 2026 22:06:51 +0800 Subject: [PATCH] system/popen: select PIPES automatically when popen is enabled Currently SYSTEM_POPEN depends on PIPES being manually enabled by the user. This is not intuitive since popen() fundamentally requires pipe support to function. Change 'depends on NSH_LIBRARY && PIPES' to 'depends on NSH_LIBRARY' plus 'select PIPES', so that enabling popen automatically pulls in the pipe driver. This matches the pattern used by other Kconfig entries such as gs2200m, alt1250, and usrsocktest. Fixes #11435 Signed-off-by: hanzj --- system/popen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/popen/Kconfig b/system/popen/Kconfig index 6256af7c4..96d894c2b 100644 --- a/system/popen/Kconfig +++ b/system/popen/Kconfig @@ -7,7 +7,7 @@ config SYSTEM_POPEN bool "popen()/pclose()/dpopen()/dpclose() Functions" default n select SCHED_WAITPID - depends on PIPES + select PIPES ---help--- Enable support for the popen(), pclose(), dpopen(), and dpclose() interfaces.