aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
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
commit4439722288cd24bc985d0be6e350c6fb5732b321 (patch)
tree55accd5322d603b5420532437719d2ade48d050e /toolchain
parent784898865663684086973c6d79d7db5397128f3c (diff)
downloadmaster-187ad058-4439722288cd24bc985d0be6e350c6fb5732b321.tar.gz
master-187ad058-4439722288cd24bc985d0be6e350c6fb5732b321.tar.bz2
master-187ad058-4439722288cd24bc985d0be6e350c6fb5732b321.zip
[toolchain] add explicit dependencies between gcc prepare stages, fixes source download race with make -j (#8596)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24969 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index 7c96c85e29..141f478522 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