<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26572">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/lint: Update lint-000-license-headers linter<br><br>- Add some directories and files to the ignore list<br>- Add the LGPL as a recognized header.  It's used in some files that<br>were pulled into coreboot from other sources.<br><br>Change-Id: I53423205f1cbf142a294ee5d24e885741a44dfcd<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M util/lint/lint-000-license-headers<br>1 file changed, 7 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/26572/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers</span><br><span>index 43be380..450c5a6 100755</span><br><span>--- a/util/lint/lint-000-license-headers</span><br><span>+++ b/util/lint/lint-000-license-headers</span><br><span>@@ -19,7 +19,11 @@</span><br><span> </span><br><span> # regex list of files and directories to exclude from the search</span><br><span> HEADER_EXCLUDED="\</span><br><span style="color: hsl(120, 100%, 40%);">+^src/lib/gnat/|\</span><br><span> ^src/vendorcode/|\</span><br><span style="color: hsl(120, 100%, 40%);">+^util/amdtools/example_input/|\</span><br><span style="color: hsl(120, 100%, 40%);">+^util/cbfstool/lz4/|\</span><br><span style="color: hsl(120, 100%, 40%);">+^util/cbfstool/lzma/|\</span><br><span> ^util/kconfig/|\</span><br><span> ^util/romcc/tests|\</span><br><span> ^util/romcc/results|\</span><br><span>@@ -30,6 +34,8 @@</span><br><span> Changelog|\</span><br><span> TODO|\</span><br><span> EXAMPLE|\</span><br><span style="color: hsl(120, 100%, 40%);">+\.[18]$|\</span><br><span style="color: hsl(120, 100%, 40%);">+\.md$|\</span><br><span> \.txt$|\</span><br><span> \.jpg$|\</span><br><span> \.cksum$|\</span><br><span>@@ -93,6 +99,7 @@</span><br><span> check_for_license 'assumes any liability or responsibility for the use'</span><br><span> check_for_license 'THE AUTHORS DISCLAIM.*ALL WARRANTIES WITH REGARD TO THIS SOFTWARE'</span><br><span> check_for_license 'No license required'</span><br><span style="color: hsl(120, 100%, 40%);">+check_for_license 'GNU Lesser General Public'</span><br><span> </span><br><span> for file in $headerlist; do</span><br><span>        # Verify the file exists, and has content that requires a header</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26572">change 26572</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/26572"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I53423205f1cbf142a294ee5d24e885741a44dfcd </div>
<div style="display:none"> Gerrit-Change-Number: 26572 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>