Author: myles
Date: 2009-09-24 18:56:08 +0200 (Thu, 24 Sep 2009)
New Revision: 4671

Modified:
   trunk/coreboot-v2/src/arch/i386/Makefile.inc
Log:
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 <[email protected]>
Acked-by: Myles Watson <[email protected]>


Modified: trunk/coreboot-v2/src/arch/i386/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/arch/i386/Makefile.inc        2009-09-24 15:09:11 UTC 
(rev 4670)
+++ trunk/coreboot-v2/src/arch/i386/Makefile.inc        2009-09-24 16:56:08 UTC 
(rev 4671)
@@ -67,7 +67,7 @@
        @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 $@
 


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to