Annotation of /trunk/vgabios/patches/0002-Add-qemu-stdvga-pci-bios.patch
Parent Directory | Revision Log
Revision 1800 -
(hide annotations)
(download)
Fri Jun 8 11:18:34 2012 UTC (12 years, 3 months ago) by niro
File size: 2390 byte(s)
Fri Jun 8 11:18:34 2012 UTC (12 years, 3 months ago) by niro
File size: 2390 byte(s)
-added patches for vgabios
1 | niro | 1800 | From 5bf4b1c48821e33e42b24d05d4933f8dd3b3a052 Mon Sep 17 00:00:00 2001 |
2 | From: Gerd Hoffmann <kraxel@redhat.com> | ||
3 | Date: Thu, 6 May 2010 10:39:33 +0200 | ||
4 | Subject: [PATCH 2/4] Add qemu stdvga pci bios | ||
5 | |||
6 | Add PCI vgabios for the qemu standard vga (1234:1111). | ||
7 | Name it vgabios-stdvga.bin. | ||
8 | --- | ||
9 | Makefile | 10 +++++++++- | ||
10 | 1 files changed, 9 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/Makefile b/Makefile | ||
13 | index 4411cb2..ecc1df8 100644 | ||
14 | --- a/Makefile | ||
15 | +++ b/Makefile | ||
16 | @@ -14,12 +14,14 @@ RELVERS = `pwd | sed "s-.*/--" | sed "s/vgabios//" | sed "s/-//"` | ||
17 | |||
18 | VGABIOS_DATE = "-DVGABIOS_DATE=\"$(RELDATE)\"" | ||
19 | |||
20 | -all: bios cirrus-bios | ||
21 | +all: bios cirrus-bios stdvga-bios | ||
22 | |||
23 | bios: vgabios.bin vgabios.debug.bin | ||
24 | |||
25 | cirrus-bios: vgabios-cirrus.bin vgabios-cirrus.debug.bin | ||
26 | |||
27 | +stdvga-bios: vgabios-stdvga.bin vgabios-stdvga.debug.bin | ||
28 | + | ||
29 | clean: | ||
30 | /bin/rm -f biossums vbetables-gen vbetables.h *.o *.s *.ld86 \ | ||
31 | temp.awk.* vgabios*.orig _vgabios_* _vgabios-debug_* core vgabios*.bin vgabios*.txt $(RELEASE).bin *.bak | ||
32 | @@ -35,18 +37,24 @@ vgabios.bin : VGAFLAGS := -DVBE -DPCIBIOS -DPCI_VID=0x1234 -DPCI_DI | ||
33 | vgabios.debug.bin : VGAFLAGS := -DVBE -DPCIBIOS -DPCI_VID=0x1234 -DPCI_DID=0x1111 -DDEBUG | ||
34 | vgabios-cirrus.bin : VGAFLAGS := -DCIRRUS -DPCIBIOS | ||
35 | vgabios-cirrus.debug.bin : VGAFLAGS := -DCIRRUS -DPCIBIOS -DCIRRUS_DEBUG | ||
36 | +vgabios-stdvga.bin : VGAFLAGS := -DVBE -DPCIBIOS -DPCI_VID=0x1234 -DPCI_DID=0x1111 | ||
37 | +vgabios-stdvga.debug.bin : VGAFLAGS := -DVBE -DPCIBIOS -DPCI_VID=0x1234 -DPCI_DID=0x1111 -DDEBUG | ||
38 | |||
39 | # dist names | ||
40 | vgabios.bin : DISTNAME := VGABIOS-lgpl-latest.bin | ||
41 | vgabios.debug.bin : DISTNAME := VGABIOS-lgpl-latest.debug.bin | ||
42 | vgabios-cirrus.bin : DISTNAME := VGABIOS-lgpl-latest.cirrus.bin | ||
43 | vgabios-cirrus.debug.bin : DISTNAME := VGABIOS-lgpl-latest.cirrus.debug.bin | ||
44 | +vgabios-stdvga.bin : DISTNAME := VGABIOS-lgpl-latest.stdvga.bin | ||
45 | +vgabios-stdvga.debug.bin : DISTNAME := VGABIOS-lgpl-latest.stdvga.debug.bin | ||
46 | |||
47 | # dependencies | ||
48 | vgabios.bin : $(VGA_FILES) $(VBE_FILES) biossums | ||
49 | vgabios.debug.bin : $(VGA_FILES) $(VBE_FILES) biossums | ||
50 | vgabios-cirrus.bin : $(VGA_FILES) clext.c biossums | ||
51 | vgabios-cirrus.debug.bin : $(VGA_FILES) clext.c biossums | ||
52 | +vgabios-stdvga.bin : $(VGA_FILES) $(VBE_FILES) biossums | ||
53 | +vgabios-stdvga.debug.bin : $(VGA_FILES) $(VBE_FILES) biossums | ||
54 | |||
55 | # build rule | ||
56 | %.bin: | ||
57 | -- | ||
58 | 1.7.8.4 | ||
59 |