mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
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:
parent
de40cc62a0
commit
9c12805bf3
@ -44,6 +44,9 @@ endif
|
|||||||
#(cd $(BUILD_DIR) ; ln -s $(DL_DIR)/uClibc)
|
#(cd $(BUILD_DIR) ; ln -s $(DL_DIR)/uClibc)
|
||||||
#-mkdir $(UCLIBC_DIR)
|
#-mkdir $(UCLIBC_DIR)
|
||||||
#(cd $(DL_DIR)/uClibc && tar cf - .) | (cd $(UCLIBC_DIR) && tar xvfp - )
|
#(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
|
touch $(UCLIBC_DIR)/.unpacked
|
||||||
|
|
||||||
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(LINUX_DIR)/.configured
|
$(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=/ \
|
RUNTIME_PREFIX=/ \
|
||||||
HOSTCC="$(HOSTCC)" \
|
HOSTCC="$(HOSTCC)" \
|
||||||
all
|
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
|
$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
|
||||||
$(MAKE) -C $(UCLIBC_DIR) \
|
$(MAKE) -C $(UCLIBC_DIR) \
|
||||||
|
11861
sources/uClibc-ldso-0.9.24.patch
Normal file
11861
sources/uClibc-ldso-0.9.24.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user