summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_license_report.sh
Commit message (Collapse)AuthorAgeFilesLines
* ptxd_make_world_license: skip ignore in license reportptxdist-2022.05.0Michael Tretter2022-05-011-1/+1
| | | | | | | | | | The yaml contains packages with an ignored license. These packages are removed from the license-compliance.pdf, but they must be removed from the license-report.pdf as well. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Message-Id: <20220426153249.1458376-1-m.tretter@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_license: generate yaml for ignored packagesMichael Olbrich2022-03-181-1/+1
| | | | | | | Those packages are skipped in the license report pdf, but the yaml data will be needed elsewhere. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_license_compliance: remove unused variablesMichael Olbrich2022-03-181-3/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_license: handle PDFs in _LICENSE_FILESRoland Hieber2021-07-161-0/+2
| | | | | | | | | | If PDF files are found in the _LICENSE_FILES variable, include them as literal pages in license-report.pdf with the 'pdfpages' package, which nowadays comes preinstalled with most LaTeX distributions. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Message-Id: <20210708185255.3303-1-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_license_report: remove deprecated package tocstyleRoland Hieber2020-10-071-4/+0
| | | | | | | | | | | | | | The tocstyle package was never meant for production use, and was removed completely in KOMA-script 3.31 (released on 2020-07-26), so building the license report fails to find tocstyle.sty. Remove the package from the license report header; however, removing it doesn't seem to make any difference to the rendered license report. Link: https://ctan.org/ctan-ann/id/mailman.339.1595768614.2548.ctan-ann@ctan.org Signed-off-by: Roland Hieber <rhi@pengutronix.de> Message-Id: <20201004211725.32369-1-rhi@pengutronix.de> [mol: also remove the second occurance] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* use '$(< ...)' instead catMichael Olbrich2020-08-151-3/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_license_report: abort when ptxd_kconfig failsMichael Olbrich2020-07-041-1/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_license_report: run ptxd_make_world_initMichael Olbrich2020-07-041-0/+2
| | | | | | | | | | | This will setup the PTXDIST_LAYERS array again. Otherwise ptxd_kconfig will fail with: ptxdist: error: Failed to normalize filename: ptxdist: error: .../configs/ptxconfig ptxdist: error: must be located inside the BSP! Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* CREDITS: remove unmaintained fileRoland Hieber2019-07-031-2/+0
| | | | | | | | | | | | | | | This file has been touched 2 times in the last 7 years, and is no longer up to date. Remove it to carry less unmaintained stuff around. Also remove all references to it from file headers using for file in `g grep -l 'See CREDITS for details about who has'`; do sed -i '/See CREDITS for details about who has/,+1d' $file done as well as the different wording from rules/other/Toplevel.make. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* license: generate yaml outputMichael Olbrich2018-07-031-2/+30
| | | | | | And add a converter to create CSV from the yaml data. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* license: handle spaces etc. in PTXCONF_PROJECT_VENDOR and other symbolsMichael Olbrich2016-09-021-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* license: handle SPDX composite license expressionsMichael Olbrich2015-12-011-0/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* improve PTXdist release for license reporting mechanismMichael Olbrich2015-10-271-14/+185
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* new command create a license report of all the selected packagesMichael Olbrich2015-02-061-0/+120
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>