From e915f8bb73d74178bc21d3a457959883b1afd1c0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 5 Feb 2009 21:04:36 -0500 Subject: common/{hush, kgdb, serial}.c: build by COBJS-$(...) in Makefile Move global '#ifdef CONFIG_xxx .... #endif' out of the .c files and into the COBJS-$(CONFIG_xxx) in the Makefile. Also delete unused var in kgdb code in the process. Signed-off-by: Mike Frysinger --- common/kgdb.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'common/kgdb.c') diff --git a/common/kgdb.c b/common/kgdb.c index 888b96b68..862f3684e 100644 --- a/common/kgdb.c +++ b/common/kgdb.c @@ -92,8 +92,6 @@ #include #include -#if defined(CONFIG_CMD_KGDB) - #undef KGDB_DEBUG /* @@ -587,8 +585,3 @@ U_BOOT_CMD( " program if it is executed (see the \"hello_world\"\n" " example program in the U-Boot examples directory)." ); -#else - -int kgdb_not_configured = 1; - -#endif -- cgit v1.2.3