aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-09-24 16:56:08 +0000
committerMyles Watson <mylesgw@gmail.com>2009-09-24 16:56:08 +0000
commita21cc3d33e7d129ade7cebac5f1638044361654e (patch)
tree3bd001ae3dbf4e1974253e2c12ba3768f35e904f
parent74fb8f224f11806b21038ecf117ba6380efce43d (diff)
Make build_opt_tbl depend on config.h since it uses it. This fixes:
GEN build/build.h OPTION option_table.h Error - Range end (122) does not match define (125) in line checksum 392 983 984 This happens when you switch from one board to another with incompatible CMOS defines. 'make clean' didn't help. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4671 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/Makefile.inc b/src/arch/i386/Makefile.inc
index 9d83ff2bac..c44560a4d2 100644
--- a/src/arch/i386/Makefile.inc
+++ b/src/arch/i386/Makefile.inc
@@ -67,7 +67,7 @@ $(obj)/option_table.h $(obj)/option_table.c: $(obj)/build_opt_tbl $(top)/src/mai
@printf " OPTION $(subst $(obj)/,,$(@))\n"
$(obj)/build_opt_tbl --config $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.layout --header $(obj)/option_table.h --option $(obj)/option_table.c
-$(obj)/build_opt_tbl: $(top)/util/options/build_opt_tbl.c $(top)/src/include/pc80/mc146818rtc.h $(top)/src/include/boot/coreboot_tables.h
+$(obj)/build_opt_tbl: $(top)/util/options/build_opt_tbl.c $(top)/src/include/pc80/mc146818rtc.h $(top)/src/include/boot/coreboot_tables.h $(obj)/config.h
@printf " HOSTCC $(subst $(obj)/,,$(@))\n"
$(HOSTCC) $(HOSTCFLAGS) -include $(obj)/config.h $< -o $@