2014-09-16 19:06:31 -07:00
|
|
|
# 32-bit mips.
|
2014-01-23 15:17:50 -08:00
|
|
|
|
2014-09-16 19:06:31 -07:00
|
|
|
libc_bionic_src_files_mips += \
|
2015-01-27 11:09:27 -08:00
|
|
|
arch-mips/string/memcmp.c \
|
2015-05-26 12:06:09 +02:00
|
|
|
arch-mips/string/memcpy.S \
|
|
|
|
arch-mips/string/memset.S \
|
|
|
|
arch-mips/string/strcmp.S \
|
2014-01-23 15:17:50 -08:00
|
|
|
|
2014-09-16 19:06:31 -07:00
|
|
|
#
|
|
|
|
# Inherently architecture-specific code.
|
|
|
|
#
|
2014-01-23 15:17:50 -08:00
|
|
|
|
|
|
|
libc_bionic_src_files_mips += \
|
2013-11-19 13:31:58 -08:00
|
|
|
arch-mips/bionic/__bionic_clone.S \
|
2013-02-26 01:30:00 -08:00
|
|
|
arch-mips/bionic/bzero.S \
|
2013-10-09 16:40:33 -07:00
|
|
|
arch-mips/bionic/cacheflush.cpp \
|
2013-10-24 16:29:40 -07:00
|
|
|
arch-mips/bionic/_exit_with_stack_teardown.S \
|
2013-02-26 01:30:00 -08:00
|
|
|
arch-mips/bionic/setjmp.S \
|
2013-11-13 14:15:31 -08:00
|
|
|
arch-mips/bionic/syscall.S \
|
2014-08-05 20:53:31 +00:00
|
|
|
arch-mips/bionic/vfork.S \
|
2014-07-10 15:24:27 -07:00
|
|
|
|
|
|
|
ifndef ARCH_MIPS_REV6
|
|
|
|
libc_bionic_src_files_mips += \
|
2013-02-26 01:30:00 -08:00
|
|
|
arch-mips/string/mips_strlen.c \
|
2014-01-23 15:17:50 -08:00
|
|
|
|
2014-07-10 15:24:27 -07:00
|
|
|
else
|
|
|
|
libc_bionic_src_files_mips += \
|
2015-01-27 11:09:27 -08:00
|
|
|
arch-mips/string/strlen.c \
|
2014-09-16 19:06:31 -07:00
|
|
|
|
|
|
|
endif
|
2014-01-23 15:17:50 -08:00
|
|
|
|
|
|
|
libc_crt_target_cflags_mips := \
|
|
|
|
$($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \
|
|
|
|
-I$(LOCAL_PATH)/arch-mips/include
|
|
|
|
|
|
|
|
libc_crt_target_crtbegin_file_mips := \
|
|
|
|
$(LOCAL_PATH)/arch-mips/bionic/crtbegin.c
|
|
|
|
|
|
|
|
libc_crt_target_crtbegin_so_file_mips := \
|
|
|
|
$(LOCAL_PATH)/arch-common/bionic/crtbegin_so.c
|
|
|
|
|
|
|
|
libc_crt_target_so_cflags_mips := \
|
|
|
|
-fPIC
|
2014-07-16 12:29:34 -07:00
|
|
|
|
|
|
|
libc_crt_target_ldflags_mips := \
|
|
|
|
-melf32ltsmip
|