util/lint: Add lint script to run kconfig_lint
The lint target in the makefile relies there being a script using this particular naming format, so add a shell script front end to run the kconfig linter. Change-Id: I029c1cd3bbf3837c9f1d86c391ae5cabfa53685d Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12903 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
		
							
								
								
									
										18
									
								
								util/lint/lint-008-kconfig
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										18
									
								
								util/lint/lint-008-kconfig
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					# This file is part of the coreboot project.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Copyright 2016 Google Inc.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# This program is free software; you can redistribute it and/or modify
 | 
				
			||||||
 | 
					# it under the terms of the GNU General Public License as published by
 | 
				
			||||||
 | 
					# the Free Software Foundation; version 2 of the License.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# This program is distributed in the hope that it will be useful,
 | 
				
			||||||
 | 
					# but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
				
			||||||
 | 
					# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
				
			||||||
 | 
					# GNU General Public License for more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# DESCR: check Kconfig files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LC_ALL=C export LC_ALL
 | 
				
			||||||
 | 
					env perl util/lint/kconfig_lint --no_git_grep --warnings_off
 | 
				
			||||||
		Reference in New Issue
	
	Block a user