From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LVv7v-0006S6-7v for mharc-grub-devel@gnu.org; Sat, 07 Feb 2009 16:54:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVv7t-0006Rw-EO for grub-devel@gnu.org; Sat, 07 Feb 2009 16:54:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVv7s-0006Rk-Np for grub-devel@gnu.org; Sat, 07 Feb 2009 16:54:12 -0500 Received: from [199.232.76.173] (port=46596 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVv7s-0006Rh-KC for grub-devel@gnu.org; Sat, 07 Feb 2009 16:54:12 -0500 Received: from aybabtu.com ([69.60.117.155]:58941) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVv7r-0002Vj-UL for grub-devel@gnu.org; Sat, 07 Feb 2009 16:54:12 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LVv2f-0006BX-J4 for grub-devel@gnu.org; Sat, 07 Feb 2009 22:48:50 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1LVv7N-0001y6-VL for grub-devel@gnu.org; Sat, 07 Feb 2009 22:53:41 +0100 Date: Sat, 7 Feb 2009 22:53:41 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090207215341.GI6343@thorin> References: <20090125231241.GA27873@thorin> <497E1596.7040802@t-online.de> <1233008230.24663.8.camel@localhost> <497F3B98.6060504@nic.fi> <1233077628.2937.7.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1233077628.2937.7.camel@localhost> 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.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: remove OS part of --target=xxx (Re: [PATCH] remove target_os) 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, 07 Feb 2009 21:54:13 -0000 On Tue, Jan 27, 2009 at 06:33:47PM +0100, Javier Martín wrote: > > So you propose --target to be reused like this (a PS3 building GRUB2 for > an amd64 BIOS PC with Linux) : > ./configure --build=ppc64-linux --host=x86_64-linux-gnu --target=i686-pc > ^--compiling system ^--tools system ^--boot arch I'm not proposing to change the way --target is used, only describing what its argument is supposed to mean, based on a comment from configure.ac. I agree that having to specify an OS for --target in command-line is odd too, but it's a different problem. Maybe we could ask the config.sub maintainer for a dummy value, such as "unknown" or so (I think Glibc had a --host for standalone -no OS- arm builds, perhaps we could use the same). > I think we already have a better-geared switch for that (--with-platform > it is?), which is currently used to distinguish between BIOS and EFI > boot code on both x86 and x86-64. --with-platform is an override for the default platform that is otherwise derived from target_vendor, AFAIK. -- 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."