scripts: move gen_app_partitions.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:
parent
361e6e5fec
commit
6e1a335447
|
@ -951,7 +951,7 @@ if(CONFIG_USERSPACE)
|
|||
add_custom_command(
|
||||
OUTPUT ${APP_SMEM_UNALIGNED_LD} ${APP_SMEM_PINNED_UNALIGNED_LD}
|
||||
COMMAND ${PYTHON_EXECUTABLE}
|
||||
${ZEPHYR_BASE}/scripts/gen_app_partitions.py
|
||||
${ZEPHYR_BASE}/scripts/build/gen_app_partitions.py
|
||||
-f ${CMAKE_BINARY_DIR}/compile_commands.json
|
||||
-o ${APP_SMEM_UNALIGNED_LD}
|
||||
$<$<BOOL:${APP_SMEM_PINNED_UNALIGNED_LD}>:--pinoutput=${APP_SMEM_PINNED_UNALIGNED_LD}>
|
||||
|
@ -989,7 +989,7 @@ if (CONFIG_USERSPACE)
|
|||
add_custom_command(
|
||||
OUTPUT ${APP_SMEM_ALIGNED_LD} ${APP_SMEM_PINNED_ALIGNED_LD}
|
||||
COMMAND ${PYTHON_EXECUTABLE}
|
||||
${ZEPHYR_BASE}/scripts/gen_app_partitions.py
|
||||
${ZEPHYR_BASE}/scripts/build/gen_app_partitions.py
|
||||
-e $<TARGET_FILE:${ZEPHYR_LINK_STAGE_EXECUTABLE}>
|
||||
-o ${APP_SMEM_ALIGNED_LD}
|
||||
$<$<BOOL:${APP_SMEM_PINNED_ALIGNED_LD}>:--pinoutput=${APP_SMEM_PINNED_ALIGNED_LD}>
|
||||
|
|
|
@ -693,7 +693,7 @@
|
|||
/scripts/logging/dictionary/ @dcpleung
|
||||
/scripts/pylib/twister/expr_parser.py @nashif
|
||||
/scripts/schemas/twister/ @nashif
|
||||
/scripts/gen_app_partitions.py @dcpleung @nashif
|
||||
/scripts/build/gen_app_partitions.py @dcpleung @nashif
|
||||
scripts/gen_image_info.py @tejlmand
|
||||
/scripts/get_maintainer.py @nashif
|
||||
/scripts/dts/ @mbolivar-nordic @galak
|
||||
|
|
|
@ -1971,7 +1971,7 @@ Userspace:
|
|||
- samples/userspace/
|
||||
- include/zephyr/syscall.h
|
||||
- kernel/userspace*
|
||||
- scripts/gen_app_partitions.py
|
||||
- scripts/build/gen_app_partitions.py
|
||||
- scripts/gen_kobject_list.py
|
||||
- scripts/gen_syscalls.py
|
||||
- scripts/process_gperf.py
|
||||
|
|
2
doc/build/cmake/build-build-phase-2.svg
generated
vendored
2
doc/build/cmake/build-build-phase-2.svg
generated
vendored
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
2
doc/build/cmake/build-postprocess-1.svg
generated
vendored
2
doc/build/cmake/build-postprocess-1.svg
generated
vendored
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
4
doc/build/cmake/index.rst
vendored
4
doc/build/cmake/index.rst
vendored
|
@ -409,9 +409,9 @@ The following is a detailed description of the scripts used during the build pro
|
|||
:start-after: """
|
||||
:end-before: """
|
||||
|
||||
:zephyr_file:`scripts/gen_app_partitions.py`
|
||||
:zephyr_file:`scripts/build/gen_app_partitions.py`
|
||||
--------------------------------------------
|
||||
|
||||
.. include:: ../../../scripts/gen_app_partitions.py
|
||||
.. include:: ../../../scripts/build/gen_app_partitions.py
|
||||
:start-after: """
|
||||
:end-before: """
|
||||
|
|
|
@ -270,7 +270,7 @@ Automatic Partitions for Static Library Globals
|
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The build-time logic for setting up automatic memory partitions is in
|
||||
``scripts/gen_app_partitions.py``. If a static library is linked into Zephyr,
|
||||
``scripts/build/gen_app_partitions.py``. If a static library is linked into Zephyr,
|
||||
it is possible to route all the globals in that library to a specific
|
||||
memory partition with the ``--library`` argument.
|
||||
|
||||
|
|
Loading…
Reference in a new issue