Commit 9c12805b authored by Manuel Novoa III 's avatar Manuel Novoa III
Browse files

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.
parent de40cc62
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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) \
+11861 −0

File added.

Preview size limit exceeded, changes collapsed.