summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlexander Graf2009-06-29 15:37:40 +0200
committerAnthony Liguori2009-06-29 21:17:49 +0200
commit253d0942fac33c5c15c9a7f8657f55f125dc5816 (patch)
tree818646933d3ed85cd34e10e2a74b1568fa128612 /configure
parentMultiboot support v5 (diff)
downloadqemu-253d0942fac33c5c15c9a7f8657f55f125dc5816.tar.gz
qemu-253d0942fac33c5c15c9a7f8657f55f125dc5816.tar.xz
qemu-253d0942fac33c5c15c9a7f8657f55f125dc5816.zip
Multiboot build system v4
In order to build the multiboot option rom, we need a Makefile and a tool to sign the rom with. Both are provided by this patch and mostly taken from the extboot source, written by Anthony Liguori. Once built, the resulting binary gets copied to pc-bios automatically. Building also occurs automatically when on an x86 host. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index ebaf03a9f1..a778fa2ff2 100755
--- a/configure
+++ b/configure
@@ -1868,6 +1868,12 @@ if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
fi
echo "TOOLS=$tools" >> $config_mak
+roms=
+if test "$cpu" = "i386" -o "$cpu" = "x86_64" ; then
+ roms="pc-bios/optionrom"
+fi
+echo "ROMS=$roms" >> $config_mak
+
if test -f ${config_h}~ ; then
if cmp -s $config_h ${config_h}~ ; then
mv ${config_h}~ $config_h
@@ -2230,10 +2236,11 @@ done # for target in $targets
# build tree in object directory if source path is different from current one
if test "$source_path_used" = "yes" ; then
- DIRS="tests tests/cris slirp audio block"
+ DIRS="tests tests/cris slirp audio block pc-bios/optionrom"
FILES="Makefile tests/Makefile"
FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
FILES="$FILES tests/test-mmap.c"
+ FILES="$FILES pc-bios/optionrom/Makefile"
for dir in $DIRS ; do
mkdir -p $dir
done