On Di, 2016-10-04 at 16:26 +0200, Michael Olbrich wrote: > > > Now, as I have this can of worms open anyway, what would be the best way > > > to specify a license tag ? > > > Btw, if the license text ist only part of the file then you can use > startline/endline to 'cut' it, see e.g. rules/e2fsprogs.make.
Noted also yesterday night. Good thing, congrats! And it's even in the docs. For those who follow this thread, quoted from "doc/ref_manual.rst": ``<PKG>_LICENSE`` The license of the package. The SPDX license identifiers should be used here. Use ``proprietary`` for proprietary packages and ``ignore`` for packages without their own license, e.g. meta packages or packages that only install files from projectroot/. ``<PKG>_LICENSE_FILES`` A space separated list of URLs of license text files. The URLs must be ``file://`` URLs relative to ``<PKG>_DIR``. Absolute URLs using ``$(PTXDIST_WORKSPACE)`` can be used in case the license text is missing in the upstream archive. Arguments are appended with ';' as separator. The ``md5=<md5sum>`` argument is mandatory. It defines the md5 checksum of the full license text. ``startline=<number>;endline=<number>`` can be used in case the specified file contains more than just the license text, e.g. if the license is in the header of a source file. For non ASCII or UTF-8 files the encoding can be specified with ``encoding=<enc>``. -- carpe noctem engineering Ingenieurbuero fuer Hard- & Software-Entwicklung Andreas Pretzsch Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)7307-936088-1 Lange Strasse 28a Fax: +49-(0)7307-936088-9 89250 Senden, Germany email: a...@cn-eng.de _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de