Patchwork qemu pirq tables

login
register
about
Submitter Myles Watson
Date 2009-10-13 04:20:08
Message ID <2831fecf0910122120p482e9a28i94b439e57e9ccfc8@mail.gmail.com>
Download mbox | patch
Permalink /patch/395/
State Accepted
Headers show

Comments

Myles Watson - 2009-10-13 04:20:08
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 <mylesgw@gmail.com>

Thanks,
Myles
Peter Stuge - 2009-10-15 07:19:19
Myles Watson wrote:
> 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 <mylesgw@gmail.com>

Acked-by: Peter Stuge <peter@stuge.se>

Both for this patch, and for adding config GENERATE_*


//Peter
Myles Watson - 2009-10-15 13:38:31
> Myles Watson wrote:
> > Build PIRQ tables when the user selects them.
> > Signed-off-by: Myles Watson <mylesgw@gmail.com>
> 
> Acked-by: Peter Stuge <peter@stuge.se>
> 
> Both for this patch, and for adding config GENERATE_*
Rev 4778.

Thanks,
Myles

Patch

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