From 61f672607adc7ac95970932ee446c0ac4a583e33 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 11 Jul 2022 10:59:00 -0400 Subject: [PATCH] scripts: move file2hex.py to scripts/build/file2hex.py Move scripts needed by the build system and not designed to be run individually or standalone into the build subfolder. Signed-off-by: Anas Nashif --- cmake/modules/extensions.cmake | 2 +- scripts/{ => build}/file2hex.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/{ => build}/file2hex.py (100%) 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