summaryrefslogtreecommitdiffstats
path: root/util/x86emu
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu')
-rw-r--r--util/x86emu/include/x86emu/x86emu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/x86emu/include/x86emu/x86emu.h b/util/x86emu/include/x86emu/x86emu.h
index a4b09e3..823f497 100644
--- a/util/x86emu/include/x86emu/x86emu.h
+++ b/util/x86emu/include/x86emu/x86emu.h
@@ -47,6 +47,9 @@
#include <console/console.h>
#undef printk
#define printk(x...) do_printk(BIOS_DEBUG, x)
+#if defined(CONFIG_DEBUG) && (CONFIG_DEBUG == 0)
+#undef CONFIG_DEBUG
+#endif
#else
#define printk printf
#endif
OpenPOWER on IntegriCloud