summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2022-03-11 17:17:58 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-03-18 18:38:46 +0100
commit0a39c7702ac3d475b183815bae2e4bb550275a6d (patch)
tree1118370455a8a3e9ca4896948d2c31558a7dc44f /bin
parente5f39ea2a7e1c415a4cbb67c1cd78fe3d31f922d (diff)
downloadptxdist-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 'bin')
-rwxr-xr-xbin/ptxdist11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index 29c9a956c..15e93a739 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -771,6 +771,12 @@ Misc:
with cgdb as frontend
bsp-info print some basic information about the BSP
package-info <package> print some basic information about the package
+ fast-bsp-report generate a yaml file that describes the BSP and
+ all packages. Less data but works without
+ building packages.
+ full-bsp-report generate a yaml file that describes the BSP and
+ all packages. More data but will build all
+ packages if necessary.
print <var> print the contents of a variable, in the way
it is known by "make"
printnext <var> assumes that the contents of <var> is another
@@ -1794,6 +1800,11 @@ EOF
ptxd_make_log export_src EXPORTDIR="${1}"
exit
;;
+ fast-bsp-report|full-bsp-report)
+ check_premake_compiler &&
+ ptxd_make_log "${cmd}"
+ exit
+ ;;
gdb|cgdb)
local -a prefix
if [ "${cmd}" = "cgdb" ]; then