diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-02 08:43:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-02 08:43:57 +0000 |
commit | e8b26df50884dc3c434d91a40bb42c8edbbb0780 (patch) | |
tree | 91a87c8a369edb321a2424e8b47e26838cd8bc10 /make/uclibc.mk | |
parent | ed90513d09af823e98efeb00c9e9b5228206cf63 (diff) |
Update ncurses so it cross compiles properly
-Erik
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r-- | make/uclibc.mk | 10 |
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 |