Browse Source

Patch from Simon Rowe to try and build asm libm code
only when HAS_FPU is set. If you don't have an FPU
then usm FPU code isn't going to help much...

Eric Andersen 21 years ago
parent
commit
2a0977528a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      libm/Makefile

+ 3 - 2
libm/Makefile

@@ -34,10 +34,11 @@
 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