From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KxR4J-0006Di-Rr for mharc-grub-devel@gnu.org; Tue, 04 Nov 2008 13:55:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxR4G-0006Co-Vf for grub-devel@gnu.org; Tue, 04 Nov 2008 13:55:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxR4F-0006CD-1b for grub-devel@gnu.org; Tue, 04 Nov 2008 13:55:56 -0500 Received: from [199.232.76.173] (port=44022 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxR4E-0006C8-Sk for grub-devel@gnu.org; Tue, 04 Nov 2008 13:55:54 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:41548 helo=jenni1.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxR4E-0006uO-NV for grub-devel@gnu.org; Tue, 04 Nov 2008 13:55:55 -0500 Received: from [127.0.0.1] (84.248.105.254) by jenni1.inet.fi (8.5.014) id 48FC59C700CD0147 for grub-devel@gnu.org; Tue, 4 Nov 2008 20:55:53 +0200 Message-ID: <49109AB8.4010509@nic.fi> Date: Tue, 04 Nov 2008 20:55:52 +0200 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: The development of GRUB 2 References: <20081101123229.GA14438@thorin> <20081101190204.GB4639@thorin> In-Reply-To: <20081101190204.GB4639@thorin> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] framework for building modules externally X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 18:55:57 -0000 Robert Millan wrote: > On Sat, Nov 01, 2008 at 01:32:29PM +0100, Robert Millan wrote: >> Hi, >> >> Attached patch makes it possible to build modules externally, by: >> >> - Installing headers in system include dir. >> >> - Exporting two ABI tags (a build-time macro and a run-time variable) >> for run-time comparison. >> >> - Exporting a makefile with COMMON_*FLAGS variables. > > Looks like I missed some important details. The headers and some macros are > not enough, as we need to reproduce part of the build system to build a module > externally. This new patch provides the following: Interesting idea. However how do you define GRUB ABI :) ? What is it, kernel, certain set of modules, or how :) ? Versioning of the modules would be a good idea indeed to make sure mismatched modules are not tried together.