zephyr/lib/posix/shell/Kconfig.uname
Yong Cong Sin 45c554d082 posix: shell: introduce top level posix command
Added a top level `posix` shell command for other POSIX
commands. Currently only `uname` is supported.

New POSIX commands can be added by including the
`posix_shell.h` header and use the `POSIX_CMD_ADD` helper
macro.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-01-18 10:54:32 +01:00

13 lines
258 B
Text

# Copyright (c) 2024 Meta
# SPDX-License-Identifier: Apache-2.0
if POSIX_UNAME
config POSIX_UNAME_SHELL
bool "Support for `uname` command"
select SHELL_GETOPT
select POSIX_SHELL
help
Support for `uname` command in the terminal.
endif # POSIX_UNAME