summaryrefslogtreecommitdiffstats
path: root/libm/Android.mk
diff options
context:
space:
mode:
authorShin-ichiro KAWASAKI <shinichiro.kawasaki.mg@hitachi.com>2009-08-31 16:25:42 +0900
committerTony Sim <sim.chinyeow@renesas.com>2009-08-31 16:25:42 +0900
commitd87945b4e706dbbacd71f6a3fd2e96162e970094 (patch)
tree9a4dab6605f3681e8e1e8c7aacf42b4e44e7fd4b /libm/Android.mk
parent90ec5f2a3f581927ffef55733e8d531890fdc90e (diff)
downloadbionic-d87945b4e706dbbacd71f6a3fd2e96162e970094.zip
bionic-d87945b4e706dbbacd71f6a3fd2e96162e970094.tar.gz
bionic-d87945b4e706dbbacd71f6a3fd2e96162e970094.tar.bz2
added and modified libm to support SuperH architecture
Diffstat (limited to 'libm/Android.mk')
-rw-r--r--libm/Android.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/libm/Android.mk b/libm/Android.mk
index 8f0c3b1..fa73aff 100644
--- a/libm/Android.mk
+++ b/libm/Android.mk
@@ -170,7 +170,17 @@ else
libm_common_includes = $(LOCAL_PATH)/i386 $(LOCAL_PATH)/i387
else
- $(error "Unknown architecture")
+ ifeq ($(TARGET_OS)-$(TARGET_ARCH),linux-sh)
+ libm_common_src_files += \
+ sh/fenv.c \
+ src/s_scalbln.c \
+ src/s_scalbn.c \
+ src/s_scalbnf.c
+
+ libm_common_includes = $(LOCAL_PATH)/sh
+ else
+ $(error "Unknown architecture")
+ endif
endif
endif