util/*: Fix final newlines in scripts

Some script files under the `util` directory have no final newline or
multiple final newlines. This is fixed so that an adapted
`util/lint/lint-extended-015-final-newlines` does not bark at them
anymore.

Change-Id: Icec08f1fc7ea837906653475b7f821aa1a143169
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23324
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Alex Thiessen 2018-01-18 23:11:07 +00:00 committed by Martin Roth
parent 4a1ee4b53e
commit 687b96155c
4 changed files with 1 additions and 4 deletions

View File

@ -2313,4 +2313,3 @@ def pad_SBL1_image (env, target, min_size_with_pad=MIN_IMAGE_SIZE_WITH_PAD, page
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# HELPER FUNCTIONS END # HELPER FUNCTIONS END
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------

View File

@ -30,4 +30,3 @@ else
sed 's|\.\/||' | \ sed 's|\.\/||' | \
grep -v "$EXCLUDED_DIRS" grep -v "$EXCLUDED_DIRS"
fi fi

View File

@ -33,4 +33,4 @@ for header in $HEADER_FILES; do
${GREP_FILES} "#\s*include\s\+[\"<]\s*${header}\.h\s*[\">]" | \ ${GREP_FILES} "#\s*include\s\+[\"<]\s*${header}\.h\s*[\">]" | \
grep "$INCLUDED_DIRS" | \ grep "$INCLUDED_DIRS" | \
grep -v "$EXCLUDED_FILES"; \ grep -v "$EXCLUDED_FILES"; \
done done

View File

@ -708,4 +708,3 @@ if __name__ == "__main__":
if not args.check: if not args.check:
print("Done! Good luck!") print("Done! Good luck!")