Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
10 changes: 10 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
# ============================================================================
Expand Down
Loading