From 2a0977528a6a7b8110199a9ed42cda5fba981fd9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 9 Nov 2002 00:21:19 +0000 Subject: 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... --- libm/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libm/Makefile') diff --git a/libm/Makefile b/libm/Makefile index 7723b180d..e93582a5f 100644 --- a/libm/Makefile +++ b/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 -- cgit v1.2.3