diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-04-15 20:14:21 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-04-16 08:20:24 +0200 |
commit | aeeafc08609bf2f28f603e641340946b5657f86e (patch) | |
tree | 4b6d86062d488d585754c0d724ebf3960e29b08f | |
parent | 9b0de7145927f0158de3fe526ff34e298fdae793 (diff) | |
download | coreboot-aeeafc08609bf2f28f603e641340946b5657f86e.tar.xz |
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>
Reviewed-on: http://review.coreboot.org/5510
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r-- | util/sconfig/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/sconfig/Makefile.inc b/util/sconfig/Makefile.inc index f3e8bdab10..c6ba90f450 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 |