From dc3c959a5f6d74e91f9a2d997d20e47b07b65628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 11 Apr 2015 13:18:07 +0200 Subject: Kconfig_parser renamed to parse_kconfig --- scripts/parse_kconfig/macros.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/parse_kconfig/macros.h (limited to 'scripts/parse_kconfig/macros.h') diff --git a/scripts/parse_kconfig/macros.h b/scripts/parse_kconfig/macros.h new file mode 100644 index 0000000..95bb16f --- /dev/null +++ b/scripts/parse_kconfig/macros.h @@ -0,0 +1,11 @@ +extern int verbose_level; // Defined in kconfig_parser.c + +#define Eprintf(...) fprintf(stderr, __VA_ARGS__) +#define Wprintf(...) if (verbose_level > 1) printf(__VA_ARGS__) +#define Iprintf(...) if (verbose_level > 2) printf(__VA_ARGS__) + +#ifndef DEBUG +#define Dprintf(...) +#else +#define Dprintf(...) if (verbose_level > 3) printf(a, __VA_ARGS__) +#endif /* DEBUG */ -- cgit v1.2.3