summaryrefslogtreecommitdiffstats
path: root/libm/Android.mk
diff options
context:
space:
mode:
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