summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRocky Zhang <zhangyan.hit@gmail.com>2012-12-21 16:32:43 +0800
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-12-23 23:58:28 -0800
commitd348cd5c890b1f04ae454794545c9ee8974076eb (patch)
treed8a5db1aee8307de812de72d6892c22dc5e21947
parent4051162fbcd991e04a2ad1b86a0b2a12718cda20 (diff)
downloadbionic-d348cd5c890b1f04ae454794545c9ee8974076eb.zip
bionic-d348cd5c890b1f04ae454794545c9ee8974076eb.tar.gz
bionic-d348cd5c890b1f04ae454794545c9ee8974076eb.tar.bz2
[MIPS] fix bionic libm on MIPS support
the s_sin.c and s_cos.c are needed to be added to compile MIPS libm Change-Id: I48e2f70cb8fb5a63c6022129c3ca1c2699d058e6 Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>
-rw-r--r--libm/Android.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/libm/Android.mk b/libm/Android.mk
index ba59d52..a28f1b8 100644
--- a/libm/Android.mk
+++ b/libm/Android.mk
@@ -169,7 +169,7 @@ ifeq ($(TARGET_ARCH),arm)
else
libm_common_src_files += \
src/s_cos.c \
- src/s_sin.c
+ src/s_sin.c
endif
ifeq ($(TARGET_USE_SPARROW_BIONIC_OPTIMIZATION),true)
@@ -204,7 +204,9 @@ ifeq ($(TARGET_ARCH),mips)
src/s_scalbln.c \
src/s_scalbn.c \
src/s_scalbnf.c \
- src/e_sqrtf.c
+ src/e_sqrtf.c \
+ src/s_sin.c \
+ src/s_cos.c
libm_common_includes = $(LOCAL_PATH)/mips
# Need to build *rint* functions