Make it possible to use the (modified) 0.9.24 ldso code. This is a

temporary work around for my openwrt stuff since the current (.26+)
code still isn't working in some cases... for me at least.
This commit is contained in:
Manuel Novoa III 2004-03-05 19:06:24 +00:00
parent de40cc62a0
commit 9c12805bf3
2 changed files with 11873 additions and 0 deletions

View File

@ -44,6 +44,9 @@ endif
#(cd $(BUILD_DIR) ; ln -s $(DL_DIR)/uClibc)
#-mkdir $(UCLIBC_DIR)
#(cd $(DL_DIR)/uClibc && tar cf - .) | (cd $(UCLIBC_DIR) && tar xvfp - )
ifeq ($(strip $(USE_UCLIBC_LDSO_0_9_24)),true)
$(SOURCE_DIR)/patch-kernel.sh $(UCLIBC_DIR) $(SOURCE_DIR) uClibc-ldso-0.9.24.patch
endif
touch $(UCLIBC_DIR)/.unpacked
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(LINUX_DIR)/.configured
@ -91,6 +94,15 @@ $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)
RUNTIME_PREFIX=/ \
HOSTCC="$(HOSTCC)" \
all
ifeq ($(strip $(USE_UCLIBC_LDSO_0_9_24)),true)
#rm -rf $(UCLIBC_DIR)/ld-uClibc* $(UCLIBC_DIR)/libdl*
$(MAKE) -C $(UCLIBC_DIR)/ldso-0.9.24 \
PREFIX= \
DEVEL_PREFIX=$(REAL_GNU_TARGET_NAME)/ \
RUNTIME_PREFIX=/ \
HOSTCC="$(HOSTCC)" \
all shared
endif
$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
$(MAKE) -C $(UCLIBC_DIR) \

File diff suppressed because it is too large Load Diff