diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-08 20:05:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-08 20:05:15 +0100 |
commit | f20ae8d331f414d82c19aaa00ebe5435458bf307 (patch) | |
tree | 33bb9b9fef5e5d4f59d0242235c4912d04409397 | |
parent | 4d932bb11c1eef3b8b1997d529e52cd7a5fc9e47 (diff) |
add linker script, exit when not available
-rw-r--r-- | package/eglibc/Makefile | 2 | ||||
-rw-r--r-- | package/eglibc/files/libc.so.arm | 5 |
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 ) ) |