summaryrefslogtreecommitdiff
path: root/package/eglibc
diff options
context:
space:
mode:
Diffstat (limited to 'package/eglibc')
-rw-r--r--package/eglibc/Makefile2
-rw-r--r--package/eglibc/files/libc.so.arm5
2 files changed, 6 insertions, 1 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 1ee599707..5c21cac3a 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -42,7 +42,7 @@ eglibc-static-install:
eglibc-dev-install:
${INSTALL_DIR} $(IDIR_EGLIBC_DEV)/$(ADK_TARGET_LIBC_PATH) $(IDIR_EGLIBC_DEV)/usr/lib
# install linker script
- -cp ./files/libc.so.$(CPU_ARCH) $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
+ cp ./files/libc.so.$(CPU_ARCH) $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
ifeq ($(ADK_TARGET_ABI_O32),y)
ifeq ($(ADK_big),y)
$(SED) "s#@@ELFTARGET@@#elf32-tradbigmips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
diff --git a/package/eglibc/files/libc.so.arm b/package/eglibc/files/libc.so.arm
new file mode 100644
index 000000000..a79b29aa3
--- /dev/null
+++ b/package/eglibc/files/libc.so.arm
@@ -0,0 +1,5 @@
+/* GNU ld script
+ Use the shared library, but some functions are only in
+ the static library, so try that secondarily. */
+OUTPUT_FORMAT(elf32-littlearm)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) )