diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-10 17:43:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-10 17:43:24 +0100 |
commit | a86dedf2775bce14a15612fe448342892c12a330 (patch) | |
tree | afa1d0d80ce78715a091ff10126f76fe5403e5ae /package/glibc/Makefile | |
parent | 60d3e1f78181f8a5b55c11283edbfc29eff572b6 (diff) | |
parent | e718329929fd7ae778d6e73a04876dfacd70c581 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/glibc/Makefile')
-rw-r--r-- | package/glibc/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile index af70e125f..d6d1bf3ce 100644 --- a/package/glibc/Makefile +++ b/package/glibc/Makefile @@ -52,14 +52,26 @@ glibc-dev-install: # install linker script -cp ./files/libc.so.$(CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so ifeq ($(ADK_TARGET_ABI_O32),y) +ifeq ($(ADK_big),y) + $(SED) "s#@@ELFFORMAT@@#elf32-tradbigmips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so +else $(SED) "s#@@ELFFORMAT@@#elf32-tradlittlemips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so endif +endif ifeq ($(ADK_TARGET_ABI_N32),y) +ifeq ($(ADK_big),y) + $(SED) "s#@@ELFFORMAT@@#elf32-ntradbigmips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so +else $(SED) "s#@@ELFFORMAT@@#elf32-ntradlittlemips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so endif +endif ifeq ($(ADK_TARGET_ABI_N64),y) +ifeq ($(ADK_big),y) + $(SED) "s#@@ELFFORMAT@@#elf64-tradbigmips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so +else $(SED) "s#@@ELFFORMAT@@#elf64-tradlittlemips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so endif +endif ${CP} ${STAGING_TARGET_DIR}/usr/lib/crt* ${IDIR_GLIBC_DEV}/usr/lib ${CP} ${STAGING_TARGET_DIR}/usr/lib/libc_nonshared.a ${IDIR_GLIBC_DEV}/usr/lib -for file in libcrypt libdl libm libresolv libutil; do \ |