summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Griffin <pgriffin@mpc-data.co.uk>2009-04-29 11:04:00 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-05-04 09:55:53 +0200
commit4d1b93953f0a82732b8d9b8280a07730b78a2194 (patch)
tree3929e6342174c651f06c7d413d0ffdb0e0f4b36e
parent0ca454ff1c638b221f62cbca2b832d9911035424 (diff)
sh: Fix FPU config option
Change to UCLIBC_HAS_FPU because UCLIBC_HAS_FLOATS can be used with UCLIBC_HAS_SOFT_FLOAT option.
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 37c3a4e6f..d831bd2fb 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -371,7 +371,7 @@ ifeq ($(TARGET_ARCH),sh)
CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mb
CPU_CFLAGS-$(CONFIG_SH2)+=-m2
CPU_CFLAGS-$(CONFIG_SH3)+=-m3
-ifeq ($(UCLIBC_HAS_FLOATS),y)
+ifeq ($(UCLIBC_HAS_FPU),y)
CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a
CPU_CFLAGS-$(CONFIG_SH4)+=-m4
else