scripts: move gen_syscalls.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:54:14 -04:00 committed by Carles Cufí
parent 4f65bf6412
commit c74d20e433
5 changed files with 5 additions and 5 deletions

View file

@ -734,7 +734,7 @@ add_custom_command(OUTPUT include/generated/syscall_dispatch.c ${syscall_list_h}
# Also, some files are written to include/generated/syscalls/
COMMAND
${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_syscalls.py
${ZEPHYR_BASE}/scripts/build/gen_syscalls.py
--json-file ${syscalls_json} # Read this file
--base-output include/generated/syscalls # Write to this dir
--syscall-dispatch include/generated/syscall_dispatch.c # Write this file

View file

@ -703,7 +703,7 @@ scripts/gen_image_info.py @tejlmand
/arch/x86/gen_idt.py @dcpleung @nashif
/scripts/build/gen_kobject_list.py @dcpleung @nashif
/scripts/build/gen_kobject_placeholders.py @dcpleung
/scripts/gen_syscalls.py @dcpleung @nashif
/scripts/build/gen_syscalls.py @dcpleung @nashif
/scripts/list_boards.py @mbolivar-nordic
/scripts/process_gperf.py @dcpleung @nashif
/scripts/build/gen_relocate_app.py @dcpleung

View file

@ -1973,7 +1973,7 @@ Userspace:
- kernel/userspace*
- scripts/build/gen_app_partitions.py
- scripts/build/gen_kobject_list.py
- scripts/gen_syscalls.py
- scripts/build/gen_syscalls.py
- scripts/process_gperf.py
- scripts/build/gen_relocate_app.py
- include/zephyr/sys/kobject.h

View file

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