From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757978AbZDRPIY (ORCPT ); Sat, 18 Apr 2009 11:08:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753591AbZDRPIO (ORCPT ); Sat, 18 Apr 2009 11:08:14 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:57057 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753408AbZDRPIN (ORCPT ); Sat, 18 Apr 2009 11:08:13 -0400 Date: Sat, 18 Apr 2009 17:07:50 +0200 From: Ingo Molnar To: Sam Ravnborg , linux-kbuild , linux arch , LKML , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "David S. Miller" , Russell King Subject: Re: kbuild - introduce support for subdir-ccflags-y Message-ID: <20090418150750.GA24059@elte.hu> References: <20090418125159.GA23008@uranus.ravnborg.org> <20090418125839.GA3668@flint.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090418125839.GA3668@flint.arm.linux.org.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Russell King wrote: > On Sat, Apr 18, 2009 at 02:51:59PM +0200, Sam Ravnborg wrote: > > The typical use cases are an architecture or a subsystem that > > decide to cover all files with -Werror. > > Today alpha, mips and sparc uses -Werror in almost all their > > Makefile - with subdir-ccflag-y it is now simpler to do so > > as only the top-level directories needs to be covered. > > Hmm, this won't make sense for ARM. We have things like #warning > and deprecated functions in machine specific headers, and adding > -Werror to the whole of arch/arm/ will result in these causing > builds to fail. This is optional - if you dont want it, you dont set it. Ingo