[SeaBIOS] [PATCH 0/3] runtime hardware detection series.
Kevin O'Connor
kevin at koconnor.net
Thu Feb 9 02:06:05 CET 2012
On Wed, Feb 08, 2012 at 05:38:56PM +0100, Gerd Hoffmann wrote:
> Hi,
>
> Next round, this time introducing a CONFIG_VGA_QEMU and doing the
> hardware detection for qemu-emulated hardware only. Also clarifies
> Kconfig (cirrus is for emulated hardware only) as side effect.
What's the advantage of modifying the code versus just having a simple
build script?
-Kevin
#!/bin/sh
# Script to build the vgaroms that qemu uses
mkdir -p out/
CFG=$PWD/out/config-cirrus
cat > $CFG <<EOF
CONFIG_BUILD_VGABIOS=y
CONFIG_VGA_CIRRUS=y
EOF
make KCONFIG_CONFIG=$CFG oldnoconfig
make KCONFIG_CONFIG=$CFG out/vgabios.bin
cp out/vgabios.bin out/vgabios-cirrus.bin
CFG=$PWD/out/config-bochsvga
cat > $CFG <<EOF
CONFIG_BUILD_VGABIOS=y
CONFIG_VGA_BOCHS=y
EOF
make KCONFIG_CONFIG=$CFG oldnoconfig
make KCONFIG_CONFIG=$CFG out/vgabios.bin
cp out/vgabios.bin out/vgabios-stdvga.bin
cp out/vgabios.bin out/vgabios-vmware.bin
cp out/vgabios.bin out/vgabios-qxl.bin
More information about the SeaBIOS
mailing list