diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-10 15:55:27 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-10 15:55:27 +0100 |
| commit | a7df43ea27675ee1b2a9137eb6a541f394f724b9 (patch) | |
| tree | 23049f7d5ff93f7bca574cf59ea086a9200f3ca6 /package/eglibc/Makefile | |
| parent | f71aac68580e7502fd17a11b9aeb79df6b07bcec (diff) | |
| parent | a7f84a637fb077b80f88799321670fb6260d721a (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/eglibc/Makefile')
| -rw-r--r-- | package/eglibc/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile index c93fbbefe..1ee599707 100644 --- a/package/eglibc/Makefile +++ b/package/eglibc/Makefile @@ -44,14 +44,26 @@ eglibc-dev-install: # install linker script -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 +else $(SED) "s#@@ELFTARGET@@#elf32-tradlittlemips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so endif +endif ifeq ($(ADK_TARGET_ABI_N32),y) +ifeq ($(ADK_big),y) + $(SED) "s#@@ELFTARGET@@#elf32-ntradbigmips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so +else $(SED) "s#@@ELFTARGET@@#elf32-ntradlittlemips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so endif +endif ifeq ($(ADK_TARGET_ABI_N64),y) +ifeq ($(ADK_big),y) + $(SED) "s#@@ELFTARGET@@#elf64-tradbigmips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so +else $(SED) "s#@@ELFTARGET@@#elf64-tradlittlemips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so endif +endif ${CP} ${STAGING_TARGET_DIR}/usr/lib/crt* ${IDIR_EGLIBC_DEV}/usr/lib ${CP} ${STAGING_TARGET_DIR}/usr/lib/libc_nonshared.a ${IDIR_EGLIBC_DEV}/usr/lib -for file in libcrypt libdl libm libresolv libutil libnsl; do \ |
