Fix compilation problem in common/cmd_bmp.c
[oweals/u-boot.git] / common / kgdb.c
index 6de6ec99a22273c4ff8fd7ac515fcf42cff6ac85..1d346699a56ecfaafececc42a0d4813cca7351da 100644 (file)
@@ -92,7 +92,7 @@
 #include <kgdb.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
 
 #undef KGDB_DEBUG
 
@@ -591,4 +591,4 @@ U_BOOT_CMD(
 
 int kgdb_not_configured = 1;
 
-#endif /* CFG_CMD_KGDB */
+#endif