summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-01 17:36:39 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-01 17:36:39 +0000
commited90513d09af823e98efeb00c9e9b5228206cf63 (patch)
tree5ec3b1782d99c41c069deb303f380b9a4281ab17 /make/uclibc.mk
parent1dc53e1ebf97cc12f75aa5a344feabf5b5eb3421 (diff)
downloadbuildroot-novena-ed90513d09af823e98efeb00c9e9b5228206cf63.tar.gz
buildroot-novena-ed90513d09af823e98efeb00c9e9b5228206cf63.zip
Update the toolchain build, per the latest in the standalone
toolchain builders -Erik
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 753363b7b..99ecbbec6 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -53,6 +53,9 @@ ifeq ($(LINUX_DIR),)
LINUX_DIR:=$(BUILD_DIR)/linux
endif
+linux_headers: $(LINUX_DIR)/.configured
+
+
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCC=$(HOSTCC),g' $(UCLIBC_DIR)/Rules.mak
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
@@ -84,7 +87,7 @@ $(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/bin/$(ARCH)-uclibc-gcc
$(TARGET_DIR)/usr/bin/ldd: $(TARGET_DIR)/lib/libc.so.0
$(MAKE) -C $(UCLIBC_DIR) PREFIX=$(TARGET_DIR) install_target_utils
-uclibc: $(LINUX_KERNEL) $(STAGING_DIR)/lib/libc.a $(TARGET_DIR)/lib/libc.so.0 $(TARGET_DIR)/usr/bin/ldd
+uclibc: linux_headers $(STAGING_DIR)/lib/libc.a $(TARGET_DIR)/lib/libc.so.0 $(TARGET_DIR)/usr/bin/ldd
uclibc-clean:
rm -f $(TARGET_DIR)/lib/libc.so.0