diff --git a/cmake/modules/extensions.cmake b/cmake/modules/extensions.cmake index 67fad800015..7bab3b752c5 100644 --- a/cmake/modules/extensions.cmake +++ b/cmake/modules/extensions.cmake @@ -631,7 +631,7 @@ function(generate_inc_file OUTPUT ${generated_file} COMMAND ${PYTHON_EXECUTABLE} - ${ZEPHYR_BASE}/scripts/file2hex.py + ${ZEPHYR_BASE}/scripts/build/file2hex.py ${ARGN} # Extra arguments are passed to file2hex.py --file ${source_file} > ${generated_file} # Does pipe redirection work on Windows? diff --git a/scripts/file2hex.py b/scripts/build/file2hex.py similarity index 100% rename from scripts/file2hex.py rename to scripts/build/file2hex.py