summaryrefslogtreecommitdiff
path: root/libm/sh/Makefile.arch
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-14 12:49:24 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-14 12:49:24 +0000
commitc617dd785dde62eb0862c576f679fdd43dcd3a9a (patch)
tree2becfd05a424b92df048332c064f51de847f4c70 /libm/sh/Makefile.arch
parent4c20772b6223bf193dd0f9ec70a3766d3a22c30b (diff)
libm_sh: Re-added sh specific files erroneously removed recently,
and moved under a better folder. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libm/sh/Makefile.arch')
-rw-r--r--libm/sh/Makefile.arch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libm/sh/Makefile.arch b/libm/sh/Makefile.arch
new file mode 100644
index 000000000..e0f4fe952
--- /dev/null
+++ b/libm/sh/Makefile.arch
@@ -0,0 +1,18 @@
+# Makefile for uClibc
+#
+# Copyright (c) 2007 STMicroelectronics Ltd
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+libm_ARCH_SRC:=$(wildcard $(libm_ARCH_fpu_DIR)/*.c)
+libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_fpu_DIR)/%.c,$(libm_ARCH_fpu_OUT)/%.o,$(libm_ARCH_SRC))
+
+libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
+
+ifeq ($(DOPIC),y)
+libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
+else
+libm-a-y+=$(libm_ARCH_OBJS)
+endif
+libm-so-y+=$(libm_ARCH_OBJS:.o=.os)