summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-03 10:43:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-03 10:43:59 +0000
commit4b157f4b59c22aa358188d20fc925f57843d7075 (patch)
tree77cf4ab04747e3a1bc24ccc06bf83b5ea377d186
parent0ef855fc75f1af18102f7fa453041b61af660b34 (diff)
toolchain: fix libc headers dependency on kernel headers + minimal gcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32582 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index e16b4d9e9..25f8f4645 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