From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LnYoA-0002MY-Nb for mharc-grub-devel@gnu.org; Sat, 28 Mar 2009 09:42:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnYo9-0002M6-P9 for grub-devel@gnu.org; Sat, 28 Mar 2009 09:42:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnYo5-0002LU-AI for grub-devel@gnu.org; Sat, 28 Mar 2009 09:42:45 -0400 Received: from [199.232.76.173] (port=58521 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnYo5-0002LR-6M for grub-devel@gnu.org; Sat, 28 Mar 2009 09:42:41 -0400 Received: from aybabtu.com ([69.60.117.155]:57955) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LnYo4-0003kJ-OX for grub-devel@gnu.org; Sat, 28 Mar 2009 09:42:40 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1LnYeA-0005pd-7P for grub-devel@gnu.org; Sat, 28 Mar 2009 14:32:27 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1LnYny-0002QZ-5H for grub-devel@gnu.org; Sat, 28 Mar 2009 14:42:34 +0100 Date: Sat, 28 Mar 2009 14:42:34 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090328134234.GF8493@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Idea: move grub-emu to a separate platform 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: Sat, 28 Mar 2009 13:42:46 -0000 On Sat, Mar 28, 2009 at 02:36:00PM +0800, Bean wrote: > Hi, > > Currently, the grub-emu is in every rmk files, but I don't see the > difference between grub-emu in i386-pc, i386-coreboot or i386-efi. In > fact, grub-emu runs inside the host os, it can't access firmware > facility anyway. One quick fix to move grub-emu to i386.rmk, but we > could also put it in a new platform altogether, something like > i386-host. > > The advantage of using a separate platform is that we could now use > modules like the other platform, instead of embedding all source files > in grub-emu. For example, whenever we add a new command, we need to > modify the source list of grub-emu. But if we build i386-host like > other platform, we only need to change common.rmk. Can't we just use common.rmk instead? Adding a separate namespace for util/ stuff looks like unnecessary complication. We already have e.g. grub-probe, grub-setup, etc which don't need this hack. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."