|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 4/6] raisin: pass --with-system-seabios with seabios was built
Detect whether we have built seabios and only pass the relative command
line argument to Xen if we actually did.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
components/xen | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/components/xen b/components/xen
index b3426f0..ac9e8fb 100644
--- a/components/xen
+++ b/components/xen
@@ -24,12 +24,17 @@ function xen_check_package() {
}
function xen_build() {
+ local seabios_opt=""
+
cd "$BASEDIR"
git-checkout $XEN_URL $XEN_REVISION xen-dir
cd xen-dir
+ if [[ -e "$BASEDIR"/seabios-dir/out/bios.bin ]]
+ then
+ seabios_opt="--with-system-seabios="$BASEDIR"/seabios-dir/out/bios.bin"
+ fi
./configure --prefix=$PREFIX
--with-system-qemu=$PREFIX/lib/xen/bin/qemu-system-i386 \
- --disable-qemu-traditional --enable-rombios \
- --with-system-seabios="$BASEDIR"/seabios-dir/out/bios.bin
+ --disable-qemu-traditional --enable-rombios $seabios_opt
$RAISIN_MAKE
$RAISIN_MAKE install DESTDIR="$INST_DIR"
cd "$BASEDIR"
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |