Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932175AbVIJT25 (ORCPT ); Sat, 10 Sep 2005 15:28:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932178AbVIJT25 (ORCPT ); Sat, 10 Sep 2005 15:28:57 -0400 Received: from pfepb.post.tele.dk ([195.41.46.236]:831 "EHLO pfepb.post.tele.dk") by vger.kernel.org with ESMTP id S932175AbVIJT24 (ORCPT ); Sat, 10 Sep 2005 15:28:56 -0400 Date: Sat, 10 Sep 2005 21:30:33 +0200 From: Sam Ravnborg To: Roman Zippel Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 9/12] kbuild: mips use generic asm-offsets.h support Message-ID: <20050910193033.GA31516@mars.ravnborg.org> References: <11263057061465-git-send-email-sam@ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1242 Lines: 31 Hi Roman. > > Kbuild | 9 ++++++++- > > What's that file good for? kbuild looks for the Kbuild file before it looks for Makefile. In a desire to move some of the functionality away form the top-level Makefile and in to a kbuild file this is needed. In this particular case the Kbuild file is located in the top-level directory because it is used to read a file down in arch/$(ARCH) and store the result file in include/asm-$(ARCH). Here it come in handy that kbuild prefer the Kbuild name, since it would not be good to try to use the top-level Makefile as a kbuild file. It is full of conditionals and one more spanning-the-whole-file conditional was too ugly. It also come in handy that the full kbuild functionality is available making it possible to do full dependency checking. The Kbuild file in the top-level directory will take over more and more functionality from the top-level Makefile to the extent that I hope to end up with two readable files. 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/