diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-05 21:04:36 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-11 23:05:57 +0100 |
commit | e915f8bb73d74178bc21d3a457959883b1afd1c0 (patch) | |
tree | 4b864d952f7c8cab0e0b8c9758cadac843b389e8 /common/hush.c | |
parent | ab76e9848a1f4db64d14233741d739a3b3360c93 (diff) | |
download | u-boot-imx-e915f8bb73d74178bc21d3a457959883b1afd1c0.zip u-boot-imx-e915f8bb73d74178bc21d3a457959883b1afd1c0.tar.gz u-boot-imx-e915f8bb73d74178bc21d3a457959883b1afd1c0.tar.bz2 |
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>
Diffstat (limited to 'common/hush.c')
-rw-r--r-- | common/hush.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/hush.c b/common/hush.c index 01b74d7..cf5782a 100644 --- a/common/hush.c +++ b/common/hush.c @@ -96,7 +96,6 @@ /*cmd_boot.c*/ extern int do_bootd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); /* do_bootd */ #endif -#ifdef CONFIG_SYS_HUSH_PARSER #ifndef __U_BOOT__ #include <ctype.h> /* isalpha, isdigit */ #include <unistd.h> /* getpid */ @@ -3632,5 +3631,4 @@ U_BOOT_CMD( ); #endif -#endif /* CONFIG_SYS_HUSH_PARSER */ /****************************************************************************/ |