summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-02 08:43:57 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-02 08:43:57 +0000
commite8b26df50884dc3c434d91a40bb42c8edbbb0780 (patch)
tree91a87c8a369edb321a2424e8b47e26838cd8bc10 /make/uclibc.mk
parented90513d09af823e98efeb00c9e9b5228206cf63 (diff)
downloadbuildroot-novena-e8b26df50884dc3c434d91a40bb42c8edbbb0780.tar.gz
buildroot-novena-e8b26df50884dc3c434d91a40bb42c8edbbb0780.zip
Update ncurses so it cross compiles properly
-Erik
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 99ecbbec6..d8e1c92a8 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -49,13 +49,6 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) #$(UCLIBC_PATCH)
bzcat $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(BUILD_DIR) -xvf -
touch $(UCLIBC_DIR)/.unpacked
-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
@@ -87,7 +80,8 @@ $(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_headers $(STAGING_DIR)/lib/libc.a $(TARGET_DIR)/lib/libc.so.0 $(TARGET_DIR)/usr/bin/ldd
+uclibc: $(BUILD_DIR)/linux/.configured $(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