diff --git a/CMakeLists.txt b/CMakeLists.txt index cd38de51e55..8260fd18356 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/CODEOWNERS b/CODEOWNERS index c7975e7d1d5..98041b2a0c5 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -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 diff --git a/MAINTAINERS.yml b/MAINTAINERS.yml index f8f27a26a24..a14a65b240f 100644 --- a/MAINTAINERS.yml +++ b/MAINTAINERS.yml @@ -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 diff --git a/doc/build/cmake/index.rst b/doc/build/cmake/index.rst index 9ad33374ff5..b50c88711fb 100644 --- a/doc/build/cmake/index.rst +++ b/doc/build/cmake/index.rst @@ -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: """ diff --git a/scripts/gen_syscalls.py b/scripts/build/gen_syscalls.py similarity index 100% rename from scripts/gen_syscalls.py rename to scripts/build/gen_syscalls.py