Author: myles Date: Mon Aug 2 17:14:13 2010 New Revision: 5680 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5680
Log: Build VGA code conditionally to avoid errors when using SeaBIOS.
Signed-off-by: Myles Watson mylesgw@gmail.com Acked-by: Kevin O'Connor kevin@koconnor.net
Modified: trunk/src/northbridge/intel/i82830/Makefile.inc trunk/src/northbridge/via/cn400/Makefile.inc trunk/src/northbridge/via/cn700/Makefile.inc trunk/src/northbridge/via/cx700/Makefile.inc trunk/src/northbridge/via/vt8623/Makefile.inc trunk/src/northbridge/via/vx800/Makefile.inc trunk/src/southbridge/amd/cs5530/Makefile.inc
Modified: trunk/src/northbridge/intel/i82830/Makefile.inc ============================================================================== --- trunk/src/northbridge/intel/i82830/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/northbridge/intel/i82830/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -1,4 +1,4 @@ driver-y += northbridge.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o
smmobj-$(CONFIG_HAVE_SMI_HANDLER) += i82830_smihandler.o
Modified: trunk/src/northbridge/via/cn400/Makefile.inc ============================================================================== --- trunk/src/northbridge/via/cn400/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/northbridge/via/cn400/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -20,6 +20,6 @@
driver-y += northbridge.o driver-y += agp.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o driver-y += vlink.o
Modified: trunk/src/northbridge/via/cn700/Makefile.inc ============================================================================== --- trunk/src/northbridge/via/cn700/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/northbridge/via/cn700/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -20,5 +20,5 @@
driver-y += northbridge.o driver-y += agp.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o
Modified: trunk/src/northbridge/via/cx700/Makefile.inc ============================================================================== --- trunk/src/northbridge/via/cx700/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/northbridge/via/cx700/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -23,4 +23,4 @@ driver-y += cx700_agp.o driver-y += cx700_lpc.o driver-y += cx700_sata.o -driver-y += cx700_vga.o +driver-$(CONFIG_VGA_ROM_RUN) += cx700_vga.o
Modified: trunk/src/northbridge/via/vt8623/Makefile.inc ============================================================================== --- trunk/src/northbridge/via/vt8623/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/northbridge/via/vt8623/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -19,5 +19,5 @@ ##
driver-y += northbridge.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o
Modified: trunk/src/northbridge/via/vx800/Makefile.inc ============================================================================== --- trunk/src/northbridge/via/vx800/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/northbridge/via/vx800/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -19,7 +19,7 @@ ##
driver-y += northbridge.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o driver-y += vx800_lpc.o driver-y += vx800_ide.o
Modified: trunk/src/southbridge/amd/cs5530/Makefile.inc ============================================================================== --- trunk/src/southbridge/amd/cs5530/Makefile.inc Mon Aug 2 04:34:20 2010 (r5679) +++ trunk/src/southbridge/amd/cs5530/Makefile.inc Mon Aug 2 17:14:13 2010 (r5680) @@ -21,5 +21,5 @@ driver-y += cs5530.o driver-y += cs5530_isa.o driver-y += cs5530_ide.o -driver-y += cs5530_vga.o +driver-$(CONFIG_VGA_ROM_RUN) += cs5530_vga.o driver-y += cs5530_pirq.o