Browse Source

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>
pull/47665/head
Anas Nashif 3 years ago committed by Carles Cufí
parent
commit
c74d20e433
  1. 2
      CMakeLists.txt
  2. 2
      CODEOWNERS
  3. 2
      MAINTAINERS.yml
  4. 4
      doc/build/cmake/index.rst
  5. 0
      scripts/build/gen_syscalls.py

2
CMakeLists.txt

@ -734,7 +734,7 @@ add_custom_command(OUTPUT include/generated/syscall_dispatch.c ${syscall_list_h} @@ -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

2
CODEOWNERS

@ -703,7 +703,7 @@ scripts/gen_image_info.py @tejlmand @@ -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

2
MAINTAINERS.yml

@ -1973,7 +1973,7 @@ Userspace: @@ -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

4
doc/build/cmake/index.rst vendored

@ -329,10 +329,10 @@ The following is a detailed description of the scripts used during the build pro @@ -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: """

0
scripts/gen_syscalls.py → scripts/build/gen_syscalls.py

Loading…
Cancel
Save