tools/file2include: create Linux style SPDX header
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 7 May 2018 18:38:24 +0000 (20:38 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 May 2018 00:38:34 +0000 (20:38 -0400)
commite75ac7039a51becdb80ea585443e9c2fdb58f716
treeb7b7fa9fe6ed9a1508163add858bedf9e05ad07a
parent7f1cb1d588789585aa962250fda4c3e095901c5b
tools/file2include: create Linux style SPDX header

file2include is used to convert a binary file to a C include.
With the patch the SPDX header is written to the first line as
expected by scripts/checkpatch.pl.

Cf. https://www.kernel.org/doc/html/v4.16/process/license-rules.html

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/file2include.c