summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-12 15:44:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-12 15:44:53 +0000
commit26616b18a42f8ef4b97d1e09510e66ecba52f1f2 (patch)
tree385477531e65e438e577868c379c3af61c01e5d4 /toolchain/Makefile
parent541bebf4eca3b30c1b1c322d87c43e2cc7300386 (diff)
downloadmtk-20170518-26616b18a42f8ef4b97d1e09510e66ecba52f1f2.zip
mtk-20170518-26616b18a42f8ef4b97d1e09510e66ecba52f1f2.tar.gz
mtk-20170518-26616b18a42f8ef4b97d1e09510e66ecba52f1f2.tar.bz2
add explicit dependencies between gcc prepare stages, fixes source download race with make -j (#8596)
SVN-Revision: 24969
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index 7c96c85..141f478 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -38,6 +38,8 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
$(curdir)/gcc/minimal/compile:=$(curdir)/binutils/install
$(curdir)/kernel-headers/install:=$(curdir)/gcc/minimal/install
$(curdir)/gcc/initial/compile:=$(curdir)/$(LIBC)/prepare
+ $(curdir)/gcc/initial/prepare:=$(curdir)/gcc/minimal/prepare
+ $(curdir)/gcc/final/prepare:=$(curdir)/gcc/initial/prepare
$(curdir)/$(LIBC)/compile:=$(curdir)/gcc/initial/install
$(curdir)/gcc/final/compile:=$(curdir)/$(LIBC)/compile
$(curdir)/$(LIBC)/install:=$(curdir)/gcc/final/install