From 2d7ff69a036c9878976f983a6f4de37575e87fc4 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Mon, 2 Aug 2010 15:14:13 +0000 Subject: Build VGA code conditionally to avoid errors when using SeaBIOS. Signed-off-by: Myles Watson Acked-by: Kevin O'Connor git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5680 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/intel/i82830/Makefile.inc | 2 +- src/northbridge/via/cn400/Makefile.inc | 2 +- src/northbridge/via/cn700/Makefile.inc | 2 +- src/northbridge/via/cx700/Makefile.inc | 2 +- src/northbridge/via/vt8623/Makefile.inc | 2 +- src/northbridge/via/vx800/Makefile.inc | 2 +- src/southbridge/amd/cs5530/Makefile.inc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/northbridge/intel/i82830/Makefile.inc b/src/northbridge/intel/i82830/Makefile.inc index 57dedfde73..85a2b0c1bb 100644 --- a/src/northbridge/intel/i82830/Makefile.inc +++ b/src/northbridge/intel/i82830/Makefile.inc @@ -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 diff --git a/src/northbridge/via/cn400/Makefile.inc b/src/northbridge/via/cn400/Makefile.inc index 89bff39862..37f8e4f2ef 100644 --- a/src/northbridge/via/cn400/Makefile.inc +++ b/src/northbridge/via/cn400/Makefile.inc @@ -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 diff --git a/src/northbridge/via/cn700/Makefile.inc b/src/northbridge/via/cn700/Makefile.inc index c0aa7b9e43..f5be8ac74e 100644 --- a/src/northbridge/via/cn700/Makefile.inc +++ b/src/northbridge/via/cn700/Makefile.inc @@ -20,5 +20,5 @@ driver-y += northbridge.o driver-y += agp.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o diff --git a/src/northbridge/via/cx700/Makefile.inc b/src/northbridge/via/cx700/Makefile.inc index 1221fd5f8b..9b7a42c57e 100644 --- a/src/northbridge/via/cx700/Makefile.inc +++ b/src/northbridge/via/cx700/Makefile.inc @@ -23,4 +23,4 @@ obj-y += northbridge.o 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 diff --git a/src/northbridge/via/vt8623/Makefile.inc b/src/northbridge/via/vt8623/Makefile.inc index 47682ad13d..13cbc723c1 100644 --- a/src/northbridge/via/vt8623/Makefile.inc +++ b/src/northbridge/via/vt8623/Makefile.inc @@ -19,5 +19,5 @@ ## driver-y += northbridge.o -driver-y += vga.o +driver-$(CONFIG_VGA_ROM_RUN) += vga.o diff --git a/src/northbridge/via/vx800/Makefile.inc b/src/northbridge/via/vx800/Makefile.inc index c44266d0c3..f46a58f8e6 100644 --- a/src/northbridge/via/vx800/Makefile.inc +++ b/src/northbridge/via/vx800/Makefile.inc @@ -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 diff --git a/src/southbridge/amd/cs5530/Makefile.inc b/src/southbridge/amd/cs5530/Makefile.inc index fa793f81b9..22024a0b6d 100644 --- a/src/southbridge/amd/cs5530/Makefile.inc +++ b/src/southbridge/amd/cs5530/Makefile.inc @@ -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 -- cgit v1.2.3