summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-26 21:18:46 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-26 21:18:46 +0000
commita0aef7c41b2b94ed06063990c3621e6b3ae3f2c9 (patch)
tree5a5ad5823abe3828b47823d96032805c0f3c0b1e /make/uclibc.mk
parent15418c9c2c92ffb2e89d2da2fbae6ea0db0e099d (diff)
downloadbuildroot-novena-a0aef7c41b2b94ed06063990c3621e6b3ae3f2c9.tar.gz
buildroot-novena-a0aef7c41b2b94ed06063990c3621e6b3ae3f2c9.zip
This should at least build. I think.
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 4934b0a0b..92577ed23 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -111,7 +111,15 @@ $(TARGET_DIR)/usr/lib/libc.a: $(STAGING_DIR)/lib/libc.a
ln -fs /lib/libnsl.so.0 libnsl.so; \
)
-uclibc_target: gcc_final uclibc $(TARGET_DIR)/usr/lib/libc.a
+ifeq ($(USE_UCLIBC_TOOLCHAIN),true)
+ifeq ($(GCC_2_95_TOOLCHAIN),true)
+uclibc_target: gcc2_95 uclibc $(TARGET_DIR)/usr/lib/libc.a
+else
+uclibc_target: gcc3_3 uclibc $(TARGET_DIR)/usr/lib/libc.a
+endif
+else
+uclibc_target: uclibc $(TARGET_DIR)/usr/lib/libc.a
+endif
uclibc_target-clean:
rm -f $(TARGET_DIR)/include