Build PIRQ tables when the user selects them.

It's getting more and more obvious that we need CONFIG_HAVE_* and
CONFIG_GENERATE_* for all the tables.  There are lots of ways to break
builds.

Signed-off-by: Myles Watson <[email protected]>

Thanks,
Myles
Index: svn/src/mainboard/emulation/qemu-x86/Makefile.inc
===================================================================
--- svn.orig/src/mainboard/emulation/qemu-x86/Makefile.inc
+++ svn/src/mainboard/emulation/qemu-x86/Makefile.inc
@@ -6,6 +6,7 @@ crt0-y += ../../../../src/arch/i386/lib/
 crt0-y += auto.inc
 
 obj-y += mainboard.o
+obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o
 
 ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb
 ldscript-y += ../../../../src/cpu/x86/16bit/entry16.lds
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to