From 1a565e53f2d09f77ce2cd2cb7c6051c4ff0d3dbc Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 18 Dec 2005 16:41:10 +0000 Subject: Multiple unrelated changes * make -v switch print debug messages. * do case insensitive comparison of mainboards, as wished on the mailinglist Corresponding to flashrom svn r37 and coreboot v2 svn r2146. --- debug.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debug.h') diff --git a/debug.h b/debug.h index 7d540b5..0614747 100644 --- a/debug.h +++ b/debug.h @@ -2,6 +2,9 @@ #define __DEBUG_H__ 1 //#define printf_debug(x...) printf(x) -#define printf_debug(x...) { } + +extern int verbose; + +#define printf_debug(x...) { if(verbose) printf(x); } #endif -- cgit v1.1