From 472efa604158c193bdcd8f357ca52c41eca53ca5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 16 Feb 2012 20:44:20 +0100 Subject: Remove whitespace. Fix issues reported by new lint test. Change-Id: I077a829cb4a855cbb3b71b6eb5c66b2068be6def Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/646 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/acpi/acpidump-all | 6 +++--- util/ifdtool/Makefile | 4 ++-- util/lint/lint-001-no-global-config-in-romstage | 2 +- util/lint/remccoms3.sed | 4 ++-- util/mkelfImage/configure.ac | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'util') diff --git a/util/acpi/acpidump-all b/util/acpi/acpidump-all index fe10e9d1e6..8550e5b94b 100755 --- a/util/acpi/acpidump-all +++ b/util/acpi/acpidump-all @@ -18,11 +18,11 @@ rm -rf out mkdir out - + # walk through all ACPI tables with their addresses -# example: +# example: # RSDT @ 0xcf6794ba -# we can not just dump the tables by their names because some +# we can not just dump the tables by their names because some # machines have double ACPI tables acpidump | grep "@ 0x" | while read line diff --git a/util/ifdtool/Makefile b/util/ifdtool/Makefile index fc8581f280..144028e570 100644 --- a/util/ifdtool/Makefile +++ b/util/ifdtool/Makefile @@ -23,7 +23,7 @@ CC = gcc INSTALL = /usr/bin/install PREFIX = /usr/local CFLAGS = -O2 -g -Wall -W -LDFLAGS = +LDFLAGS = OBJS = ifdtool.o @@ -47,7 +47,7 @@ install: $(PROGRAM) mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8 $(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8 -.PHONY: all clean distclean dep +.PHONY: all clean distclean dep -include .dependencies diff --git a/util/lint/lint-001-no-global-config-in-romstage b/util/lint/lint-001-no-global-config-in-romstage index ae4d6a41c4..0c6f403194 100755 --- a/util/lint/lint-001-no-global-config-in-romstage +++ b/util/lint/lint-001-no-global-config-in-romstage @@ -22,7 +22,7 @@ DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\ SCANBUCKET=`mktemp` LC_ALL=C export LC_ALL find src -name .svn -type d -prune -o -name mainboard -type d -prune -o -name examples -type d -prune -o -type f -exec sed -nf `dirname $0`/remccoms3.sed {} + > $SCANBUCKET - + for define in $DEFINES; do if [ `egrep -c "([^_A-Za-z0-9]$define[^_A-Za-z0-9]|^$define[^_A-Za-z0-9]|[^_A-Za-z0-9]$define\$)" $SCANBUCKET` -gt 0 ]; then echo "$define is defined in mainboard(s) and used elsewhere" diff --git a/util/lint/remccoms3.sed b/util/lint/remccoms3.sed index 477a5eacb1..429d3bd422 100644 --- a/util/lint/remccoms3.sed +++ b/util/lint/remccoms3.sed @@ -43,7 +43,7 @@ s,"[^"]*",,g s,\n\(.[^\"]*\).*,\1, x s,.[^\"]*,, - + /^"/b break /^\\/{ H @@ -69,7 +69,7 @@ s,"[^"]*",,g s,\n\(.[^\']*\).*,\1, x s,.[^\']*,, - + /^'/b break /^\\/{ H diff --git a/util/mkelfImage/configure.ac b/util/mkelfImage/configure.ac index a7fc37ecf2..af0fe19aaa 100644 --- a/util/mkelfImage/configure.ac +++ b/util/mkelfImage/configure.ac @@ -203,7 +203,7 @@ rm -f conftest*]) if test $libc_cv_fno_stack_protector = yes; then I386_CFLAGS="$I386_CFLAGS -fno-stack-protector" IA64_CFLAGS="$IA64_CFLAGS -fno-stack-protector" - + fi AC_SUBST(libc_cv_fno_stack_protector) -- cgit v1.2.3