scripts: move gen_relocate_app.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:51 -04:00 committed by Carles Cufí
parent e234c21ab2
commit d589e7f04e
6 changed files with 6 additions and 6 deletions

View file

@ -706,7 +706,7 @@ scripts/gen_image_info.py @tejlmand
/scripts/gen_syscalls.py @dcpleung @nashif /scripts/gen_syscalls.py @dcpleung @nashif
/scripts/list_boards.py @mbolivar-nordic /scripts/list_boards.py @mbolivar-nordic
/scripts/process_gperf.py @dcpleung @nashif /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/requirements*.txt @mbolivar-nordic @galak @nashif
/scripts/tests/twister/ @aasthagr /scripts/tests/twister/ @aasthagr
/scripts/tests/build/test_subfolder_list.py @rmstoi /scripts/tests/build/test_subfolder_list.py @rmstoi

View file

@ -1975,7 +1975,7 @@ Userspace:
- scripts/build/gen_kobject_list.py - scripts/build/gen_kobject_list.py
- scripts/gen_syscalls.py - scripts/gen_syscalls.py
- scripts/process_gperf.py - scripts/process_gperf.py
- scripts/gen_relocate_app.py - scripts/build/gen_relocate_app.py
- include/zephyr/sys/kobject.h - include/zephyr/sys/kobject.h
labels: labels:
- "area: Userspace" - "area: Userspace"

View file

@ -211,7 +211,7 @@ macro(toolchain_ld_relocation)
OUTPUT ${MEM_RELOCATION_CODE} ${MEM_RELOCATION_LD} OUTPUT ${MEM_RELOCATION_CODE} ${MEM_RELOCATION_LD}
COMMAND COMMAND
${PYTHON_EXECUTABLE} ${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_relocate_app.py ${ZEPHYR_BASE}/scripts/build/gen_relocate_app.py
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose> $<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
-d ${APPLICATION_BINARY_DIR} -d ${APPLICATION_BINARY_DIR}
-i \"$<TARGET_PROPERTY:code_data_relocation_target,COMPILE_DEFINITIONS>\" -i \"$<TARGET_PROPERTY:code_data_relocation_target,COMPILE_DEFINITIONS>\"

View file

@ -14,7 +14,7 @@ macro(toolchain_ld_relocation)
OUTPUT ${MEM_RELOCATION_CODE} ${MEM_RELOCATION_LD} OUTPUT ${MEM_RELOCATION_CODE} ${MEM_RELOCATION_LD}
COMMAND COMMAND
${PYTHON_EXECUTABLE} ${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_relocate_app.py ${ZEPHYR_BASE}/scripts/build/gen_relocate_app.py
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose> $<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
-d ${APPLICATION_BINARY_DIR} -d ${APPLICATION_BINARY_DIR}
-i \"$<TARGET_PROPERTY:code_data_relocation_target,COMPILE_DEFINITIONS>\" -i \"$<TARGET_PROPERTY:code_data_relocation_target,COMPILE_DEFINITIONS>\"

View file

@ -393,10 +393,10 @@ The following is a detailed description of the scripts used during the build pro
.. _gen_relocate_app.py: .. _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: """ :start-after: """
:end-before: """ :end-before: """