Skip to content

Commit

Permalink
scripts: move gen_relocate_app.py to scripts/build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nashif authored and carlescufi committed Jul 12, 2022
1 parent e234c21 commit d589e7f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ scripts/gen_image_info.py @tejlmand
/scripts/gen_syscalls.py @dcpleung @nashif
/scripts/list_boards.py @mbolivar-nordic
/scripts/process_gperf.py @dcpleung @nashif
/scripts/gen_relocate_app.py @dcpleung
/scripts/build/gen_relocate_app.py @dcpleung
/scripts/requirements*.txt @mbolivar-nordic @galak @nashif
/scripts/tests/twister/ @aasthagr
/scripts/tests/build/test_subfolder_list.py @rmstoi
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,7 @@ Userspace:
- scripts/build/gen_kobject_list.py
- scripts/gen_syscalls.py
- scripts/process_gperf.py
- scripts/gen_relocate_app.py
- scripts/build/gen_relocate_app.py
- include/zephyr/sys/kobject.h
labels:
- "area: Userspace"
Expand Down
2 changes: 1 addition & 1 deletion cmake/linker/arcmwdt/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ macro(toolchain_ld_relocation)
OUTPUT ${MEM_RELOCATION_CODE} ${MEM_RELOCATION_LD}
COMMAND
${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_relocate_app.py
${ZEPHYR_BASE}/scripts/build/gen_relocate_app.py
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
-d ${APPLICATION_BINARY_DIR}
-i \"$<TARGET_PROPERTY:code_data_relocation_target,COMPILE_DEFINITIONS>\"
Expand Down
2 changes: 1 addition & 1 deletion cmake/linker/ld/target_relocation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ macro(toolchain_ld_relocation)
OUTPUT ${MEM_RELOCATION_CODE} ${MEM_RELOCATION_LD}
COMMAND
${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_relocate_app.py
${ZEPHYR_BASE}/scripts/build/gen_relocate_app.py
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
-d ${APPLICATION_BINARY_DIR}
-i \"$<TARGET_PROPERTY:code_data_relocation_target,COMPILE_DEFINITIONS>\"
Expand Down
4 changes: 2 additions & 2 deletions doc/build/cmake/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,10 @@ The following is a detailed description of the scripts used during the build pro

.. _gen_relocate_app.py:

:zephyr_file:`scripts/gen_relocate_app.py`
:zephyr_file:`scripts/build/gen_relocate_app.py`
-------------------------------------------

.. include:: ../../../scripts/gen_relocate_app.py
.. include:: ../../../scripts/build/gen_relocate_app.py
:start-after: """
:end-before: """

Expand Down
File renamed without changes.

0 comments on commit d589e7f

Please sign in to comment.