From d85999799412f91ef64f2c9fb4e39cd6af31eda5 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 11 Jul 2022 10:56:46 -0400 Subject: [PATCH] scripts: move process_gperf.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 --- CMakeLists.txt | 2 +- CODEOWNERS | 2 +- MAINTAINERS.yml | 2 +- doc/build/cmake/build-postprocess-4.svg | Bin 56871 -> 56883 bytes doc/build/cmake/index.rst | 4 ++-- scripts/{ => build}/process_gperf.py | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename scripts/{ => build}/process_gperf.py (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b2e38ada8c..7d02a9299d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -896,7 +896,7 @@ if(CONFIG_USERSPACE) ) set(GEN_KOBJ_LIST ${ZEPHYR_BASE}/scripts/build/gen_kobject_list.py) - set(PROCESS_GPERF ${ZEPHYR_BASE}/scripts/process_gperf.py) + set(PROCESS_GPERF ${ZEPHYR_BASE}/scripts/build/process_gperf.py) endif() get_property(CSTD GLOBAL PROPERTY CSTD) diff --git a/CODEOWNERS b/CODEOWNERS index 13033e225d0..4e97e5ad08a 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -705,7 +705,7 @@ scripts/build/gen_image_info.py @tejlmand /scripts/build/gen_kobject_placeholders.py @dcpleung /scripts/build/gen_syscalls.py @dcpleung @nashif /scripts/list_boards.py @mbolivar-nordic -/scripts/process_gperf.py @dcpleung @nashif +/scripts/build/process_gperf.py @dcpleung @nashif /scripts/build/gen_relocate_app.py @dcpleung /scripts/requirements*.txt @mbolivar-nordic @galak @nashif /scripts/tests/twister/ @aasthagr diff --git a/MAINTAINERS.yml b/MAINTAINERS.yml index a14a65b240f..1d744a8e095 100644 --- a/MAINTAINERS.yml +++ b/MAINTAINERS.yml @@ -1974,7 +1974,7 @@ Userspace: - scripts/build/gen_app_partitions.py - scripts/build/gen_kobject_list.py - scripts/build/gen_syscalls.py - - scripts/process_gperf.py + - scripts/build/process_gperf.py - scripts/build/gen_relocate_app.py - include/zephyr/sys/kobject.h labels: diff --git a/doc/build/cmake/build-postprocess-4.svg b/doc/build/cmake/build-postprocess-4.svg index 9c15abbdaaf3099b456504a104357a454fc17df0..7db427dee462f157b7811a1f01aaebef75c27e50 100644 GIT binary patch delta 30 icmZ3!hk5fJ<_+1KS(8dLb5bT}Z9W5GZ8qKVNfQ9r=?(+{ delta 18 acmdnIhk5xP<_+1KCl_u$z1eBYM@;}+YYFTC diff --git a/doc/build/cmake/index.rst b/doc/build/cmake/index.rst index b50c88711fb..c638b842bd2 100644 --- a/doc/build/cmake/index.rst +++ b/doc/build/cmake/index.rst @@ -402,10 +402,10 @@ The following is a detailed description of the scripts used during the build pro .. _process_gperf.py: -:zephyr_file:`scripts/process_gperf.py` +:zephyr_file:`scripts/build/process_gperf.py` --------------------------------------- -.. include:: ../../../scripts/process_gperf.py +.. include:: ../../../scripts/build/process_gperf.py :start-after: """ :end-before: """ diff --git a/scripts/process_gperf.py b/scripts/build/process_gperf.py similarity index 100% rename from scripts/process_gperf.py rename to scripts/build/process_gperf.py