scripts: move gen_offset_header.py to scripts/build/

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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-07-11 10:53:45 -04:00 committed by Carles Cufí
parent d5dcf20382
commit e234c21ab2
4 changed files with 4 additions and 4 deletions

View file

@ -797,7 +797,7 @@ add_dependencies(zephyr_interface
add_custom_command(
OUTPUT ${OFFSETS_H_PATH}
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/gen_offset_header.py
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/gen_offset_header.py
-i $<TARGET_OBJECTS:${OFFSETS_LIB}>
-o ${OFFSETS_H_PATH}
DEPENDS

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -356,10 +356,10 @@ The following is a detailed description of the scripts used during the build pro
.. _gen_offset_header.py:
:zephyr_file:`scripts/gen_offset_header.py`
:zephyr_file:`scripts/build/gen_offset_header.py`
-------------------------------------------
.. include:: ../../../scripts/gen_offset_header.py
.. include:: ../../../scripts/build/gen_offset_header.py
:start-after: """
:end-before: """