summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile5
1 files changed, 3 insertions, 2 deletions
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