Skip to content

Commit

Permalink
Revert "posix: kconfig: remove select y from non-user-selectable help"
Browse files Browse the repository at this point in the history
This reverts commit b82b5b0.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
  • Loading branch information
aescolar authored and DashingR committed Jul 15, 2024
1 parent 6638a95 commit 5851d20
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
When selected via Kconfig, Zephyr will provide an alias for close() as _close().
Select 'y' here and Zephyr will provide an alias for close() as _close().

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

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

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

config POSIX_DEVICE_IO_STDIN_STDOUT_STDERR
bool
help
When selected via Kconfig, Zephyr will provide the stdin, stdout, and stderr variables.
Select 'y' here and 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
When selected via Kconfig, Zephyr will provide an alias for fcntl() as _fcntl().
Select 'y' here and Zephyr will provide an alias for fcntl() as _fcntl().

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

config POSIX_FD_MGMT_ALIAS_LSEEK
bool
help
When selected via Kconfig, Zephyr will provide an alias for lseek() as _lseek().
Select 'y' here and 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
When selected via Kconfig, Zephyr will provide an alias for fstat() as _fstat().
Select 'y' here and Zephyr will provide an alias for fstat() as _fstat().

endif # POSIX_FILE_SYSTEM

0 comments on commit 5851d20

Please sign in to comment.