summaryrefslogtreecommitdiff
path: root/src/mainboard/Makefile.romccboard.inc
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-08-28 16:38:42 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-08-28 16:38:42 +0000
commit84a0f54b3b317b455d4e17a75d89847a2711ae98 (patch)
treef4bc77e6f85a347b70f593ec83d861d65cdec597 /src/mainboard/Makefile.romccboard.inc
parent177aa3ad79678207ba1c0e9a97a56c4a7f8959e5 (diff)
Add kconfig support for all Intel 82810 (i810) boards.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4613 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/Makefile.romccboard.inc')
-rw-r--r--src/mainboard/Makefile.romccboard.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/Makefile.romccboard.inc b/src/mainboard/Makefile.romccboard.inc
index ce52ed884d..b96f97e28f 100644
--- a/src/mainboard/Makefile.romccboard.inc
+++ b/src/mainboard/Makefile.romccboard.inc
@@ -47,8 +47,13 @@ ifdef POST_EVALUATION
$(obj)/mainboard/$(MAINBOARDDIR)/failover.inc: $(obj)/romcc $(src)/arch/i386/lib/failover.c
$(obj)/romcc -mcpu=p2 -O2 --label-prefix=failover $(INCLUDES) $(src)/arch/i386/lib/failover.c -o $@
+ifeq ($(HAVE_OPTION_TABLE),y)
+$(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(obj)/romcc $(src)/mainboard/$(MAINBOARDDIR)/auto.c $(obj)/option_table.h
+ $(obj)/romcc -mcpu=p2 -O2 $(INCLUDES) $(src)/mainboard/$(MAINBOARDDIR)/auto.c -o $@
+else
$(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(obj)/romcc $(src)/mainboard/$(MAINBOARDDIR)/auto.c
$(obj)/romcc -mcpu=p2 -O2 $(INCLUDES) $(src)/mainboard/$(MAINBOARDDIR)/auto.c -o $@
+endif
endif