[U-Boot] [PATCH] common/{hush, kgdb, serial}.c: build by COBJS-$(...) in Makefile

Wolfgang Denk wd at denx.de
Wed Feb 11 23:06:08 CET 2009


Dear Mike Frysinger,

In message <1233885876-18918-1-git-send-email-vapier at gentoo.org> you wrote:
> 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 at gentoo.org>
> ---
>  common/Makefile |    6 +++---
>  common/hush.c   |    2 --
>  common/kgdb.c   |    7 -------
>  common/serial.c |    4 ----
>  4 files changed, 3 insertions(+), 16 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You might not be as stupid as you look. This is not hard. Let's think
about this. I mean ... I'll think about this, and  you  can  join  in
when you know the words.             - Terry Pratchett, _Men at Arms_


More information about the U-Boot mailing list