OSDN Git Service

Patch from Simon Rowe to try and build asm libm code
authorEric Andersen <andersen@codepoet.org>
Sat, 9 Nov 2002 00:21:19 +0000 (00:21 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 9 Nov 2002 00:21:19 +0000 (00:21 -0000)
only when HAS_FPU is set.  If you don't have an FPU
then usm FPU code isn't going to help much...

libm/Makefile

index 7723b18..e93582a 100644 (file)
 TOPDIR=../
 include $(TOPDIR)Rules.mak
 
+DIRS = 
+ifeq ($(strip $(HAS_FPU)),y)
 ifeq ($(TARGET_ARCH),$(wildcard $(TARGET_ARCH)))
 DIRS = $(TARGET_ARCH)
-else
-DIRS = 
+endif
 endif
 ALL_SUBDIRS = powerpc