Skip to content

Commit

Permalink
posix: kconfig: remove select y from non-user-selectable help
Browse files Browse the repository at this point in the history
Several help prompts for non-user-selectable Kconfig options
included the phrase "select 'y' here", which does not make
any sense in this situation.

Adjust the help sections to use more appropriate language.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
  • Loading branch information
Chris Friedt authored and nashif committed Jun 27, 2024
1 parent d9855da commit b82b5b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions lib/posix/options/Kconfig.device_io
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,27 @@ if POSIX_DEVICE_IO
config POSIX_DEVICE_IO_ALIAS_CLOSE
bool
help
Select 'y' here and Zephyr will provide an alias for close() as _close().
When selected via Kconfig, Zephyr will provide an alias for close() as _close().

config POSIX_DEVICE_IO_ALIAS_OPEN
bool
help
Select 'y' here and Zephyr will provide an alias for open() as _open().
When selected via Kconfig, Zephyr will provide an alias for open() as _open().

config POSIX_DEVICE_IO_ALIAS_READ
bool
help
Select 'y' here and Zephyr will provide an alias for read() as _read().
When selected via Kconfig, Zephyr will provide an alias for read() as _read().

config POSIX_DEVICE_IO_ALIAS_WRITE
bool
help
Select 'y' here and Zephyr will provide an alias for write() as _write().
When selected via Kconfig, Zephyr will provide an alias for write() as _write().

config POSIX_DEVICE_IO_STDIN_STDOUT_STDERR
bool
help
Select 'y' here and Zephyr will provide the stdin, stdout, and stderr variables.
When selected via Kconfig, Zephyr will provide the stdin, stdout, and stderr variables.

Some libc's that implement the POSIX API may already have declared these variables.
However, it should be noted that they are a part of POSIX and not a part of ISO C.
Expand Down
6 changes: 3 additions & 3 deletions lib/posix/options/Kconfig.fd_mgmt
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ if POSIX_FD_MGMT
config POSIX_FD_MGMT_ALIAS_FCNTL
bool
help
Select 'y' here and Zephyr will provide an alias for fcntl() as _fcntl().
When selected via Kconfig, Zephyr will provide an alias for fcntl() as _fcntl().

config POSIX_FD_MGMT_ALIAS_FTRUNCATE
bool
help
Select 'y' here and Zephyr will provide an alias for ftruncate() as _ftruncate().
When selected via Kconfig, Zephyr will provide an alias for ftruncate() as _ftruncate().

config POSIX_FD_MGMT_ALIAS_LSEEK
bool
help
Select 'y' here and Zephyr will provide an alias for lseek() as _lseek().
When selected via Kconfig, Zephyr will provide an alias for lseek() as _lseek().

endif # POSIX_FD_MGMT
2 changes: 1 addition & 1 deletion lib/posix/options/Kconfig.fs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ if POSIX_FILE_SYSTEM
config POSIX_FILE_SYSTEM_ALIAS_FSTAT
bool
help
Select 'y' here and Zephyr will provide an alias for fstat() as _fstat().
When selected via Kconfig, Zephyr will provide an alias for fstat() as _fstat().

endif # POSIX_FILE_SYSTEM

0 comments on commit b82b5b0

Please sign in to comment.