Patchwork Only build option_table.o if CONFIG_HAVE_OPTION_TABLE is 'y'

login
register
about
Submitter Uwe Hermann
Date 2009-08-24 22:33:00
Message ID <20090824223300.GB14664@greenwood>
Download mbox | patch
Permalink /patch/180/
State Accepted
Headers show

Comments

Uwe Hermann - 2009-08-24 22:33:00
See patch.


Uwe.
Stefan Reinauer - 2009-08-25 09:15:41
On 8/25/09 12:33 AM, Uwe Hermann wrote:
> Only build option_table.o if CONFIG_HAVE_OPTION_TABLE is 'y'.
> Not all boards have an option table (cmos.layout).
>
> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
>
>   
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Uwe Hermann - 2009-08-25 12:18:26
On Tue, Aug 25, 2009 at 11:15:41AM +0200, Stefan Reinauer wrote:
> On 8/25/09 12:33 AM, Uwe Hermann wrote:
> > Only build option_table.o if CONFIG_HAVE_OPTION_TABLE is 'y'.
> > Not all boards have an option table (cmos.layout).
> >
> > Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
> >
> >   
> Acked-by: Stefan Reinauer <stepan@coresystems.de>

Thanks, r4570.


Uwe.

Patch

Only build option_table.o if CONFIG_HAVE_OPTION_TABLE is 'y'.
Not all boards have an option table (cmos.layout).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>

Index: src/arch/i386/Makefile.inc
===================================================================
--- src/arch/i386/Makefile.inc	(Revision 4566)
+++ src/arch/i386/Makefile.inc	(Arbeitskopie)
@@ -5,7 +5,7 @@ 
 subdirs-y += lib
 subdirs-y += smp
 
-obj-y += ../../option_table.o
+obj-$(CONFIG_HAVE_OPTION_TABLE) += ../../option_table.o
 
 ifdef POST_EVALUATION
 BOOTBLOCK_SIZE=65536