Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5510
-gerrit
commit 58bca16195bcf5a277813a090b8c41aed91d28c9 Author: Patrick Georgi patrick@georgi-clan.de Date: Tue Apr 15 20:14:21 2014 +0200
sconfig: Fix build dependencies
In some cases the build system tried to build main.c before copying the various "shipped" files (lex/yacc output) where the place the compiler expects them.
Make the dependency explicit.
Change-Id: Iacef5292aadb9fe7bc967aa4ab5ee6c9fe4df3d7 Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/sconfig/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/util/sconfig/Makefile.inc b/util/sconfig/Makefile.inc index f3e8bda..c6ba90f 100644 --- a/util/sconfig/Makefile.inc +++ b/util/sconfig/Makefile.inc @@ -41,3 +41,5 @@ $(objutil)/sconfig/%: $(top)/util/sconfig/%_shipped $(objutil)/sconfig/sconfig: $(addprefix $(objutil)/sconfig/,$(sconfigobj)) printf " HOSTCC $(subst $(obj)/,,$(@)) (link)\n" $(HOSTCC) $(SCONFIGFLAGS) -o $@ $(addprefix $(objutil)/sconfig/,$(sconfigobj)) + +$(addprefix $(objutil)/sconfig/,$(sconfigobj)) : $(objutil)/sconfig/sconfig.tab.h $(objutil)/sconfig/sconfig.tab.c $(objutil)/sconfig/lex.yy.c