summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-02-28 21:04:15 -0700
committerMartin Roth <martinroth@google.com>2016-03-01 20:48:53 +0100
commitf4b7f2258405389be43ae0690914df67b83ae163 (patch)
treee88c6e5903603d363c93ae60b2acd6af4e13a8be /Makefile.inc
parent1e67106001cd9a2fa98ba45f361a3f85135fbe1e (diff)
downloadcoreboot-f4b7f2258405389be43ae0690914df67b83ae163.tar.gz
coreboot-f4b7f2258405389be43ae0690914df67b83ae163.tar.bz2
coreboot-f4b7f2258405389be43ae0690914df67b83ae163.zip
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 <martinroth@google.com> Reviewed-on: https://review.coreboot.org/13859 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 68012d97c9a2..7ed229e81acc 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