common/{hush, kgdb, serial}.c: build by COBJS-$(...) in Makefile
authorMike Frysinger <vapier@gentoo.org>
Fri, 6 Feb 2009 02:04:36 +0000 (21:04 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 11 Feb 2009 22:05:57 +0000 (23:05 +0100)
commite915f8bb73d74178bc21d3a457959883b1afd1c0
tree4b864d952f7c8cab0e0b8c9758cadac843b389e8
parentab76e9848a1f4db64d14233741d739a3b3360c93
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 <vapier@gentoo.org>
common/Makefile
common/hush.c
common/kgdb.c
common/serial.c