Index: Makefile
===================================================================
--- Makefile	(revision ba22dcbf7f604939161418b9a0c4c37c27bb61a4)
+++ Makefile	(revision b183865e99c534b42e7e5de6db9c93b351693c93)
@@ -63,6 +63,6 @@
 include genarch/Makefile.inc
 
-ifeq ($(CONFIG_DEBUG),n)
-	DEFS += -DNDEBUG
+ifeq ($(CONFIG_DEBUG),y)
+	DEFS += -DCONFIG_DEBUG
 endif
 ifeq ($(CONFIG_DEBUG_SPINLOCK),y)
