diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-03-11 17:17:58 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-03-18 18:38:46 +0100 |
commit | 0a39c7702ac3d475b183815bae2e4bb550275a6d (patch) | |
tree | 1118370455a8a3e9ca4896948d2c31558a7dc44f /doc | |
parent | e5f39ea2a7e1c415a4cbb67c1cd78fe3d31f922d (diff) | |
download | ptxdist-0a39c7702ac3d475b183815bae2e4bb550275a6d.tar.gz ptxdist-0a39c7702ac3d475b183815bae2e4bb550275a6d.tar.xz |
ptxdist: add commands to create generic yaml reports
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ref_parameter.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/ref_parameter.rst b/doc/ref_parameter.rst index a5b9bfe9e..063fc3498 100644 --- a/doc/ref_parameter.rst +++ b/doc/ref_parameter.rst @@ -229,6 +229,32 @@ Misc Actions are shown as well, so this can be used to verify that the correct version of these files are used. +``fast-bsp-report`` + create a yaml report that describes the BSP and all packages. The data is + similar to what ``bsp-info`` and ``package-info`` provide but combined + into a machine readable format. + + To run this command, the BSP must be configured (e.g. the toolchain must + be available), but it works without building packages. + + The expected format of the yaml file is described in schema + ``scripts/bsp-report-schema.yaml`` in the PTXdist source tree. There is + also a simple helper script ``scripts/validate-bsp-report-schema.py`` + that can be used to validate the yaml file. + + The result is found in ``<platform-dir>/release/fast-bsp-report.yaml``. + +``full-bsp-report`` + create a yaml report much like ``fast-bsp-report``. It contains some + additional data, such as the list of ipkgs created by a package. The + license information is validated and expanded, so this can be used to + create a custom license report. + + When the report is generated all packages will be built unless they are + already built. + + The result is found in ``<platform-dir>/release/full-bsp-report.yaml``. + .. _command_print: ``print <var>`` |