From: Mike Frysinger Date: Fri, 30 Oct 2009 12:43:31 -0400 Subject: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools In-Reply-To: <20091030155342.GA427@loki.buserror.net> References: <20091026221703.GB21570@loki.buserror.net> <20091030082804.0C1C0C88C8@gemini.denx.de> <20091030155342.GA427@loki.buserror.net> Message-ID: <200910301243.32538.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 30 October 2009 11:53:43 Scott Wood wrote: > On Fri, Oct 30, 2009 at 09:28:04AM +0100, Wolfgang Denk wrote: > > Scott Wood wrote: > > > We can't build everything with it, as we have a lot of code that is > > > incompatible. There were already exceptions in the makefiles for these > > > files. Fixing that code is beyond the scope of this change, especially > > > for code like libfdt that has an external upstream. > > > > > > I'd be OK with removing -pedantic from everything, if Wolfgang agrees. > > > > I don't agree. Rather I'd like to see it added everywhere, or at least > > to all code that is compiled using HOSTCC. > > Well, then someone has to fix the code that doesn't build with -pedantic -- > including upstream code from libfdt. > > That's beyond the scope of a makefile restructuring, though this patch does > make it a little simpler to move files from one set to another as they get > fixed. then lets go the route you proposed -- invert the logic. default includes the -pedantic flag while the HOSTCOMPILE_NOPED does not. and we use that for the code that needs newer standards. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20091030/6cc95e05/attachment.pgp