summaryrefslogtreecommitdiff
path: root/libm/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-20 02:11:06 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-20 02:11:06 +0000
commit9c9ea56612e9dd04d455c87c806f8e95744945d9 (patch)
tree5f70fd6299559ef62ed9739f3fc1db812c7841ab /libm/Makefile.in
parentd4b5778bf85ba9bddbf40c3b05c379bd683146ab (diff)
move some generic arch rules up a level to remove duplication
Diffstat (limited to 'libm/Makefile.in')
-rw-r--r--libm/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index fa57e3374..60d880dba 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -29,6 +29,9 @@ LIBS-libm.so := $(LIBS)
libm_FULL_NAME := libm-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
+libm_ARCH_DIR:=$(top_srcdir)libm/$(TARGET_ARCH)
+libm_ARCH_OUT:=$(top_builddir)libm/$(TARGET_ARCH)
+
ifeq ($(UCLIBC_HAS_FPU),y)
ifeq ($(DO_C99_MATH),y)
-include $(top_srcdir)libm/$(TARGET_ARCH)/Makefile.arch
@@ -159,4 +162,4 @@ $(libm_MOBJ:.o=.os): $(libm_MSRC)
$(compile.m)
libm_clean:
- $(RM) $(libm_OUT)/*.{o,os,oS,a}
+ $(RM) $(libm_OUT)/*.{o,os,oS,a} $(libm_ARCH_OUT)/*.{o,os,oS}