From f4b7f2258405389be43ae0690914df67b83ae163 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 28 Feb 2016 21:04:15 -0700 Subject: Makefile.inc: Add dependency on util/kconfig/conf for config.h This dependency wasn't called out before, and when building with enough threads, the build would fail due to a collision trying to build build/util/kconfig/conf. Fixes this failure: make[1]: execvp: build/util/kconfig/conf: Permission denied /home/martin/git/coreboot/util/kconfig/Makefile:40: recipe for target 'oldconfig' failed make[1]: *** [oldconfig] Error 127 Makefile:167: recipe for target 'build/config.h' failed Change-Id: Ib78d36bab0ba469796d89877bbe6a61e05196e87 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/13859 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc index 68012d97c9..7ed229e81a 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -422,6 +422,8 @@ $(BIMGTOOL): $(top)/util/bimgtool/bimgtool.c @printf " HOSTCC $(subst $(obj)/,,$(@))\n" $(HOSTCC) $(HOSTCFLAGS) -o $@ $< +$(obj)/config.h: $(objutil)/kconfig/conf + ####################################################################### # needed objects that every mainboard uses # Creation of these is architecture and mainboard independent -- cgit v1.2.3