From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5y9m-00007S-F2 for qemu-devel@nongnu.org; Mon, 18 May 2009 04:25:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5y9j-00006U-UV for qemu-devel@nongnu.org; Mon, 18 May 2009 04:25:09 -0400 Received: from [199.232.76.173] (port=43548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5y9j-00006F-PV for qemu-devel@nongnu.org; Mon, 18 May 2009 04:25:07 -0400 Received: from naru.obs2.net ([84.20.150.76]:48188) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5y9j-0000ng-D8 for qemu-devel@nongnu.org; Mon, 18 May 2009 04:25:07 -0400 Date: Mon, 18 May 2009 11:25:03 +0300 From: Riku Voipio Subject: Re: [Qemu-devel] Re: [PATCH 3/4] Update makefile to build roms Message-ID: <20090518082503.GA12681@kos.to> References: <1242574141-18488-1-git-send-email-aliguori@us.ibm.com> <200905172304.22687.paul@codesourcery.com> <4A109D9F.9040207@codemonkey.ws> <200905180043.43205.paul@codesourcery.com> <20090518042445.GD32609@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090518042445.GD32609@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Alex Graf , Anthony Liguori , Avi Kivity , qemu-devel@nongnu.org, Dustin Kirkland On Mon, May 18, 2009 at 05:24:45AM +0100, Jamie Lokier wrote: > Paul Brook wrote: > > > Having multiple packages therefore makes little sense because they can > > > never be independent of each other. > > Depends how your build system is setup. IMHO building a ROM and > > building qemu itself are different tasks that effectively need > > separate packages anyway. > And when built for a distribution, perhaps QEMU, BIOS and PXE should > be separate packages anyway, with QEMU depending on the others (or > perhaps "recommending"). This is indeed how it is done in Debian, roms are built in separate packages. There is also the complication of building ROMs for non-native archs. Say building openbios-sparc when building qemu on x86, or vgabios when building qemu on ppc. Then you need a crosscompiler at hand. While it is not useful for distributions, making it possible to build roms as part of qemu build process is still usefull for people hacking on qemu.