summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_license_report.awk
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-10-26 12:36:48 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-10-27 11:11:02 +0100
commit53f32624afc40414e87d08736cff78ed0f473bf5 (patch)
treeb9f2bcf049a59a9a289565c35426d6ec5274e30c /scripts/lib/ptxd_make_license_report.awk
parent745bac6697bd8f5a0547467de908c7cee8d0362e (diff)
downloadptxdist-53f32624afc40414e87d08736cff78ed0f473bf5.tar.gz
ptxdist-53f32624afc40414e87d08736cff78ed0f473bf5.tar.xz
improve PTXdist release for license reporting mechanism
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_license_report.awk')
-rw-r--r--scripts/lib/ptxd_make_license_report.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_license_report.awk b/scripts/lib/ptxd_make_license_report.awk
index a8d3476c6..a1320abe7 100644
--- a/scripts/lib/ptxd_make_license_report.awk
+++ b/scripts/lib/ptxd_make_license_report.awk
@@ -29,6 +29,7 @@ $1 == "LICENSE" {
gsub("^host-", "", $3);
gsub("^cross-", "", $3);
names[$2] = $3
+ license_type[$2] = $5
}
function make_more_dot(pkg, file, level, deps, i) {
@@ -52,7 +53,7 @@ function make_more_dot(pkg, file, level, deps, i) {
}
function make_dot(pkg) {
- file = report_dir"/"raw_names[pkg]"/graph.dot"
+ file = report_dir"/"license_type[pkg]"/"raw_names[pkg]"/graph.dot"
delete hit_deps
printf "digraph \"%s\" {\n", pkg > file
printf "rankdir=LR;\n" > file