[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 09 of 11] tools: hvmloader: add Makefile option to use debug video BIOS



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1302013752 -3600
# Node ID c2fe8249899ee1772973f93897dd7cf960367822
# Parent  478740ab3110e79142ee9fde73f5b7e9d066a6ce
tools: hvmloader: add Makefile option to use debug video BIOS

Simply as a convenience.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 478740ab3110 -r c2fe8249899e tools/firmware/hvmloader/Makefile
--- a/tools/firmware/hvmloader/Makefile Tue Apr 05 15:29:12 2011 +0100
+++ b/tools/firmware/hvmloader/Makefile Tue Apr 05 15:29:12 2011 +0100
@@ -35,6 +35,8 @@ SRCS += tests.c
 endif
 OBJS  = $(patsubst %.c,%.o,$(SRCS))
 
+CIRRUSVGA_DEBUG ?= n
+
 .PHONY: all
 all: subdirs-all
        $(MAKE) hvmloader
@@ -53,8 +55,14 @@ roms.h: ../rombios/BIOS-bochs-latest ../
 
        sh ./mkhex biosimg ../rombios/BIOS-bochs-latest >> roms.h
        sh ./mkhex vgabios_stdvga ../vgabios/VGABIOS-lgpl-latest.bin >> roms.h
+ifeq ($(CIRRUSVGA_DEBUG),y)
+       sh ./mkhex vgabios_cirrusvga \
+               ../vgabios/VGABIOS-lgpl-latest.cirrus.debug.bin >> roms.h
+else
        sh ./mkhex vgabios_cirrusvga \
                ../vgabios/VGABIOS-lgpl-latest.cirrus.bin >> roms.h
+endif
+
        cat ../etherboot/eb-roms.h >> roms.h
 
 .PHONY: clean

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.