and fails if any of these output text to stdout.
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6091
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
update:
dongle.py -c /dev/term/1 $(obj)/coreboot.rom EOF
update:
dongle.py -c /dev/term/1 $(obj)/coreboot.rom EOF
+lint:
+ LINTLOG=`mktemp`; \
+ for script in util/lint/lint-*; do \
+ echo `basename $$script`; \
+ grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
+ echo ========; \
+ $$script > $$LINTLOG; \
+ if [ `wc -l $$LINTLOG | cut -d' ' -f1` -eq 0 ]; then \
+ printf "success\n\n"; \
+ else \
+ echo test failed: ; \
+ cat $$LINTLOG; \
+ rm -f $$LINTLOG; \
+ exit 1; \
+ fi \
+ done; \
+ rm -f $$LINTLOG
+
# This include must come _before_ the pattern rules below!
# Order _does_ matter for pattern rules.
include util/kconfig/Makefile
# This include must come _before_ the pattern rules below!
# Order _does_ matter for pattern rules.
include util/kconfig/Makefile