Skip to content

Commit

Permalink
scripts: move gen_syscalls.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 4f65bf6 commit c74d20e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 @@ -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: """

Expand Down
File renamed without changes.

0 comments on commit c74d20e

Please sign in to comment.