mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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 <hanzj@xiaomi.com>
This commit is contained in:
parent
97802bd9e0
commit
a3b593a826
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue