From: Wolfgang Denk Date: Wed, 11 Feb 2009 23:06:08 +0100 Subject: [U-Boot] [PATCH] common/{hush, kgdb, serial}.c: build by COBJS-$(...) in Makefile In-Reply-To: <1233885876-18918-1-git-send-email-vapier@gentoo.org> References: <1233885876-18918-1-git-send-email-vapier@gentoo.org> Message-ID: <20090211220608.EC744832E893@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1233885876-18918-1-git-send-email-vapier@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 > --- > 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_