aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-03 10:43:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-03 10:43:59 +0000
commitf1a1d0a2624900df6729ba5281093af6d0cbf8b3 (patch)
treeeb244a26468d465f92ef9d161efa93c3fe9631ce /toolchain
parent4cdc4b1f362857caff04b5e829839936b0db907d (diff)
downloadupstream-f1a1d0a2624900df6729ba5281093af6d0cbf8b3.tar.gz
upstream-f1a1d0a2624900df6729ba5281093af6d0cbf8b3.tar.bz2
upstream-f1a1d0a2624900df6729ba5281093af6d0cbf8b3.zip
toolchain: fix libc headers dependency on kernel headers + minimal gcc
SVN-Revision: 32582
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index e16b4d9e9e..25f8f4645d 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -38,13 +38,13 @@ $(curdir)/builddirs-install:=$($(curdir)/builddirs-compile)
# builddir dependencies
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
- $(curdir)/$(LIBC)/prepare:=$(curdir)/kernel-headers/install
$(curdir)/gcc/minimal/compile:=$(curdir)/binutils/install
$(curdir)/kernel-headers/install:=$(curdir)/gcc/minimal/install
$(curdir)/gcc/initial/prepare:=$(curdir)/gcc/minimal/prepare
$(curdir)/gcc/final/prepare:=$(curdir)/gcc/initial/prepare
ifdef CONFIG_USE_UCLIBC
+ $(curdir)/$(LIBC)/headers/compile:=$(curdir)/kernel-headers/install
$(curdir)/gcc/initial/compile:=$(curdir)/$(LIBC)/headers/install
$(curdir)/$(LIBC)/compile:=$(curdir)/gcc/initial/install
$(curdir)/gcc/final/compile:=$(curdir)/$(LIBC)/install
@@ -52,6 +52,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
$(curdir)/$(LIBC)/prepare:=$(curdir)/$(LIBC)/headers/prepare
$(curdir)/$(LIBC)/utils/prepare:=$(curdir)/$(LIBC)/headers/prepare
else
+ $(curdir)/$(LIBC)/prepare:=$(curdir)/kernel-headers/install
$(curdir)/$(LIBC)/compile:=$(curdir)/gcc/initial/install
$(curdir)/$(LIBC)/install:=$(curdir)/gcc/final/install
$(curdir)/gcc/initial/compile:=$(curdir)/$(LIBC)/prepare