qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Avi Kivity <avi@redhat.com>
Cc: Glauber Costa <glommer@gmail.com>, Alex Graf <alex@csgraf.de>,
	qemu-devel@nongnu.org, Dustin Kirkland <kirkland@canonical.com>
Subject: [Qemu-devel] Re: [PATCH 3/4] Update makefile to build roms
Date: Sun, 17 May 2009 10:53:12 -0500	[thread overview]
Message-ID: <4A1032E8.1090706@us.ibm.com> (raw)
In-Reply-To: <4A103143.4010202@redhat.com>

Avi Kivity wrote:
> Anthony Liguori wrote:
>> We build the roms in a sub directory of the target build directory.  
>> This is
>> anticipating a single source base (like uboot) that gets built 
>> differently for
>> multiple target architectures (PPC, SH4, etc.).
>>
>>  
>> +#  Per architecture ROMS
>> +ROMS=
>> +ifeq ($(TARGET_BASE_ARCH),i386)
>> +ROMS+=gplbios vgabios
>> +endif
>> +
>>   
>
> ROMS-i386 = gplbios vgabios
> ROMS = $(ROMS-$(TARGET_BASE_ARCH))
>
> (make is not shell, it tolerates spaces around the equals sign)

Yeah, this is still very rough.  The build/install process is different 
for each rom so I'm probably going to need to do something fancier than 
what I have about.  Perhaps something along a subdir-% rule for the sane 
ROMs that can be overridden for weirder ones.

gplbios and vgabios are simple to build so it's where I started.

> Also, I think you'll need to set up the cross-compiler here for 
> completeness, not that I think it will ever be used in anger.

Yeah, also not yet fully bake yet but as you noticed, I've started 
that.  The difficult part is cleaning up the build system of each of the 
ROMs.

gpxe, in particular, looks to be a real pain to get buildable from a 
separate directory :-/

-- 
Regards,

Anthony Liguori

  parent reply	other threads:[~2009-05-17 15:53 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 15:28 [Qemu-devel] [PATCH 0/4][RFC] Bring ROM source into tree via git submodules Anthony Liguori
2009-05-17 15:28 ` [Qemu-devel] [PATCH 1/4] Add GPL bios as a submodule Anthony Liguori
2009-05-17 15:43   ` [Qemu-devel] " Avi Kivity
2009-05-17 15:49     ` Anthony Liguori
2009-05-17 16:23       ` Avi Kivity
2009-05-17 17:51         ` Jamie Lokier
2009-05-17 18:03           ` Avi Kivity
2009-05-17 18:05           ` Stanislav
2009-05-17 18:11             ` Avi Kivity
2009-05-17 18:37               ` Stanislav
2009-05-17 19:07                 ` Avi Kivity
2009-05-17 22:12                   ` Carl-Daniel Hailfinger
2009-05-17 22:40                     ` Avi Kivity
2009-05-17 23:22                 ` Anthony Liguori
2009-05-18 15:20                   ` ron minnich
2009-05-18  2:40                 ` Kevin O'Connor
2009-05-17 23:13             ` Anthony Liguori
2009-05-18  4:22               ` Jamie Lokier
2009-05-25 13:04                 ` Carl-Daniel Hailfinger
2009-05-17 23:09         ` Anthony Liguori
2009-05-17 23:23           ` Avi Kivity
2009-05-17 23:31             ` Anthony Liguori
2009-05-17 23:40               ` Avi Kivity
2009-05-18  1:17                 ` Anthony Liguori
2009-05-18  5:48                   ` Avi Kivity
2009-05-17 17:10   ` Sebastian Herbszt
2009-05-17 15:28 ` [Qemu-devel] [PATCH 2/4] Add submodule for VGABios Anthony Liguori
2009-05-17 15:29 ` [Qemu-devel] [PATCH 3/4] Update makefile to build roms Anthony Liguori
2009-05-17 15:46   ` [Qemu-devel] " Avi Kivity
2009-05-17 15:47     ` Avi Kivity
2009-05-17 15:53     ` Anthony Liguori [this message]
2009-05-17 17:16       ` Avi Kivity
2009-05-17 23:10         ` Anthony Liguori
2009-05-17 22:04       ` Paul Brook
2009-05-17 23:28         ` Anthony Liguori
2009-05-17 23:43           ` Paul Brook
2009-05-18  1:18             ` Anthony Liguori
2009-05-18  4:24             ` Jamie Lokier
2009-05-18  8:25               ` Riku Voipio
2009-05-18  8:35                 ` Avi Kivity
2009-05-17 15:29 ` [Qemu-devel] [PATCH 4/4] Allow tool chain to be specified for bios build Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1032E8.1090706@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=alex@csgraf.de \
    --cc=avi@redhat.com \
    --cc=glommer@gmail.com \
    --cc=kirkland@canonical.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).