From fd495d24fe9f18d24dcc829d953fc6ab0f9bfa3f Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Tue, 14 Apr 2026 19:10:36 +0200 Subject: [PATCH 1/2] CMakeLists.txt: Added QUIET option for Python package search The QUIET option turns off unnecessary informational messages. Signed-off-by: simbit18 --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2bc7fea33c65..82af32ddb64ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,10 @@ endif() # Find Python 3 interpreter -find_package(Python3 REQUIRED COMPONENTS Interpreter) +find_package( + Python3 REQUIRED + COMPONENTS Interpreter + QUIET) if(NOT Python3_Interpreter_FOUND) message(FATAL_ERROR "Did NOT find Python interpreter.") endif() From c2ddda2f2b5d0d5016e28c8f4484544d2b11ccdc Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Tue, 14 Apr 2026 19:32:39 +0200 Subject: [PATCH 2/2] tools/CMakeLists.txt: Add mkpasswd binaries - Add mkpasswd binaries Signed-off-by: simbit18 --- tools/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 81a77f8005a8e..41de3d4b21378 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -37,6 +37,7 @@ option(NUTTX_INCLUDE_INCDIR "Build incdir" OFF) option(NUTTX_INCLUDE_MKCONFIG "Build mkconfig" OFF) option(NUTTX_INCLUDE_MKDEPS "Build mkdeps" OFF) option(NUTTX_INCLUDE_MKSYMTAB "Build mksymtab" OFF) +option(NUTTX_INCLUDE_MKPASSWD "Build mkpasswd" OFF) option(NUTTX_INCLUDE_MKSYSCALL "Build mksyscall" OFF) option(NUTTX_INCLUDE_MKVERSION "Build mkversion" OFF) option(NUTTX_INCLUDE_NXSTYLE "Build nxstyle" OFF) @@ -138,6 +139,15 @@ if(NUTTX_INCLUDE_ALL_TOOLS OR NUTTX_INCLUDE_MKDEPS) install(TARGETS mkdeps DESTINATION bin) endif() +# ============================================================================ +# mkpasswd binaries Create the /etc/passwd entry +# ============================================================================ + +if(NUTTX_INCLUDE_ALL_TOOLS OR NUTTX_INCLUDE_MKPASSWD) + add_executable(mkpasswd mkpasswd.c) + install(TARGETS mkpasswd DESTINATION bin) +endif() + # ============================================================================ # mksyscall binaries Convert a CSV file into syscall stubs and proxies # ============================================================================