|
@@ -7,11 +7,13 @@
|
|
|
#
|
|
|
|
|
|
ifeq ($(UCLIBC_HAS_FENV),y)
|
|
|
-libm_ARCH_SRC:=$(wildcard $(libm_SUBARCH_DIR)/*.c)
|
|
|
-libm_ARCH_OBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.c,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SRC))
|
|
|
+libm_ARCH_CSRC:=$(wildcard $(libm_SUBARCH_DIR)/*.c)
|
|
|
+libm_ARCH_COBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.c,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SRC))
|
|
|
+libm_ARCH_SSRC:=$(wildcard $(libm_SUBARCH_DIR)/*.S)
|
|
|
+libm_ARCH_SOBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.S,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SSRC))
|
|
|
endif
|
|
|
|
|
|
-libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
|
|
|
+libm_ARCH_OBJS:=$(libm_ARCH_COBJ) $(libm_ARCH_SOBJ)
|
|
|
|
|
|
ifeq ($(DOPIC),y)
|
|
|
libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
|