Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932521AbXAIXZ5 (ORCPT ); Tue, 9 Jan 2007 18:25:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932522AbXAIXZ5 (ORCPT ); Tue, 9 Jan 2007 18:25:57 -0500 Received: from 1wt.eu ([62.212.114.60]:1881 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932521AbXAIXZ4 (ORCPT ); Tue, 9 Jan 2007 18:25:56 -0500 Date: Wed, 10 Jan 2007 00:25:34 +0100 From: Willy Tarreau To: Jean Delvare Cc: LKML , Kai Germaschewski , Sam Ravnborg Subject: Re: .version keeps being updated Message-ID: <20070109232534.GV24090@1wt.eu> References: <20070109102057.c684cc78.khali@linux-fr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070109102057.c684cc78.khali@linux-fr.org> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1066 Lines: 28 Hi Jean ! On Tue, Jan 09, 2007 at 10:20:57AM +0100, Jean Delvare wrote: > Hi all, > > Since 2.6.20-rc1 or so, running "make" always builds a new kernel with > an incremented version number, whether there has actually been any > change done to the code or configuration or not. This increases the > build time quite a bit. > > I've tracked it down to include/linux/compile.h always being updated, > and this is because .version is updated. I couldn't find what is > causing .version to be updated each time though. Can anybody help > there? Was this change made on purpose or is this a bug which we should > fix? it contains the build number (#X). You have it in the Makefile : "expr 0$$(cat .old_version) + 1 >.version". I think you can block it with a "chattr +i .version" and see if make complains. Regards, Willy - 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/