diff --git a/CMakeLists.txt b/CMakeLists.txt index 8260fd18356c76..8c12d77ea8aae0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1705,7 +1705,7 @@ endif() if(CONFIG_BUILD_OUTPUT_INFO_HEADER) list(APPEND post_build_commands - COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/gen_image_info.py + COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/gen_image_info.py --elf-file=${KERNEL_ELF_NAME} --header-file=${PROJECT_BINARY_DIR}/include/public/zephyr_image_info.h $<$:--adjusted-lma=${adjustment}> diff --git a/CODEOWNERS b/CODEOWNERS index 98041b2a0c57db..13033e225d0806 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -694,7 +694,7 @@ /scripts/pylib/twister/expr_parser.py @nashif /scripts/schemas/twister/ @nashif /scripts/build/gen_app_partitions.py @dcpleung @nashif -scripts/gen_image_info.py @tejlmand +scripts/build/gen_image_info.py @tejlmand /scripts/get_maintainer.py @nashif /scripts/dts/ @mbolivar-nordic @galak /scripts/release/ @nashif diff --git a/scripts/gen_image_info.py b/scripts/build/gen_image_info.py similarity index 100% rename from scripts/gen_image_info.py rename to scripts/build/gen_image_info.py