From: Anthony Liguori <aliguori@us.ibm.com>
To: Juan Quintela <quintela@trasno.org>
Cc: Alex Graf <agraf@suse.de>,
qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>
Subject: [Qemu-devel] Re: [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy.
Date: Wed, 29 Jul 2009 17:16:16 -0500 [thread overview]
Message-ID: <4A70CA30.6050309@us.ibm.com> (raw)
In-Reply-To: <m37hxr46rt.fsf@neno.mitica>
Juan Quintela wrote:
> Anthony Liguori <aliguori@us.ibm.com> wrote:
>
>> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>>
>
> Hi
>
> If we are shuffling directories anyways, can we:
>
>
>> + # FIXME: this is terrible
>> + for rom in multiboot; do \
>> + case $$rom in \
>> + multiboot) srcbin=multiboot.bin ;; \
>> + esac; \
>> + if test -z "$$dstbin" ; then \
>> + dstbin=$$srcbin ; \
>> + fi; \
>> + if test -e pc-bios/$$rom/$$srcbin ; then \
>>
>
>
>> + $(INSTALL_DATA) pc-bios/$$rom/$$srcbin "$(DESTDIR)$(datadir)/$$dstbin"; \
>> + else \
>> + $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$dstbin "$(DESTDIR)$(datadir)"; \
>>
> ^^^^^^^^
> move this one to something like roms_precompiled/ or similar?
>
> At this point we are going to have:
>
> source bios in $TOP_LEVEL/roms/
> prebuilt bios in $TOP_LEVEL/pc-bios/
> compiled bios in $TOP_LEVEL/<name_rom_rom>/<name_rom>
>
pc-bios should go away as it's a misnomer. Long term, I think we want
something like:
$TOP_LEVEL/roms
$TOP_LEVEL/roms/shipped
$TOP_LEVEL/roms/src/$ROMNAME
$TOP_LEVEL/roms/build/$BUILDNAME
and pc-bios goes away. But there are greater ramifications to this
because -L /path/to/git/pc-bios no longer works. I think we probably
need to think through a reorganization of <prefix>/share/qemu or make -L
smarter wrt the build system.
Either way, I see this sort of reorganization a follow on to this
series. I want to get this series in so we can start pulling in new
roms like seabios.
--
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-07-29 22:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 18:45 [Qemu-devel] [PATCH 1/7] Rename pc-bios/optionrom -> roms/multiboot Anthony Liguori
2009-07-29 18:45 ` [Qemu-devel] [PATCH 2/7] Always build roms in a separate directory Anthony Liguori
2009-07-29 18:45 ` [Qemu-devel] [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy Anthony Liguori
[not found] ` <m37hxr46rt.fsf@neno.mitica>
2009-07-29 22:16 ` Anthony Liguori [this message]
2009-07-30 9:34 ` [Qemu-devel] " Avi Kivity
2009-07-30 9:39 ` Alexander Graf
2009-07-30 10:07 ` Avi Kivity
2009-07-30 10:04 ` Alexander Graf
2009-07-29 18:45 ` [Qemu-devel] [PATCH 4/7] Allow a cross compiler to be used for rom builds Anthony Liguori
2009-07-29 18:45 ` [Qemu-devel] [PATCH 5/7] Add proper headers to all BIOS patches Anthony Liguori
2009-07-29 18:45 ` [Qemu-devel] [PATCH 6/7] Add pc-bios as a git submodule Anthony Liguori
2009-07-29 21:25 ` [Qemu-devel] " Alexander Graf
2009-07-29 21:40 ` Anthony Liguori
2009-07-29 21:51 ` Alexander Graf
2009-07-29 22:10 ` [Qemu-devel] " Jordan Justen
2009-07-29 22:13 ` Anthony Liguori
2009-07-29 18:45 ` [Qemu-devel] [PATCH 7/7] Remove BIOS patches from the queue and update the README Anthony Liguori
2009-07-30 9:38 ` [Qemu-devel] " Avi Kivity
[not found] ` <m3eirz474o.fsf@neno.mitica>
2009-07-29 19:35 ` [Qemu-devel] Re: [PATCH 1/7] Rename pc-bios/optionrom -> roms/multiboot Anthony Liguori
2009-07-30 9:38 ` Avi Kivity
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=4A70CA30.6050309@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=agraf@suse.de \
--cc=avi@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@trasno.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).