Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764101AbYF0VGy (ORCPT ); Fri, 27 Jun 2008 17:06:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763890AbYF0VGm (ORCPT ); Fri, 27 Jun 2008 17:06:42 -0400 Received: from pasmtpa.tele.dk ([80.160.77.114]:42228 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764049AbYF0VGl (ORCPT ); Fri, 27 Jun 2008 17:06:41 -0400 Date: Fri, 27 Jun 2008 23:07:27 +0200 From: Sam Ravnborg To: Geert Uytterhoeven Cc: "Robert P. J. Day" , linux-kbuild@vger.kernel.org, Linux Kernel Development Subject: Re: [PATCH] kbuild: sparse needs CF not CHECKFLAGS Message-ID: <20080627210727.GD29245@uranus.ravnborg.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1607 Lines: 46 On Fri, Jun 20, 2008 at 03:45:12PM +0200, Geert Uytterhoeven wrote: > Documentation/sparse.txt tells to use: > > make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__" > > However, this still doesn't enable endian checks. The correct syntax is: > > make C=2 CF="-D__CHECK_ENDIAN__" > > This documentation bug was introduced by the following commit: > > commit 1c7bafe7206d928eaccbcbd08d868733e0fb7054 > Author: Robert P. J. Day > Date: Wed Sep 13 07:57:50 2006 -0400 > > kbuild: clarify "make C=" build option > > Clarify the use of "make C=" in the top-level Makefile, and fix a > typo in the Documentation file. > > Signed-off-by: Sam Ravnborg > > This `typo' was not a typo, as `CF' had been introduced much earlier, by: > > commit 7b49bb9aff8b14d15da58111d8908c877c0a525e > Author: viro@ZenIV.linux.org.uk > Date: Fri Sep 9 21:14:35 2005 +0100 > > [PATCH] kbuild: CF= passes arguments to sparse > > Allows to add to sparse arguments without mutilating makefiles - just > pass CF= and they will be added to CHECKFLAGS. > > Signed-off-by: Al Viro > Signed-off-by: Sam Ravnborg > > Signed-off-by: Geert Uytterhoeven Applied Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/