Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
string
default "e500" if CONFIG_E500
default "classic" if CONFIG_CLASSIC
+ default "sh4" if CONFIG_SH4
default ""
source "extra/Configs/Config.in.arch"
DODIFF_rint := 1
+# NOTE: For basic-test we must disable the floating point optimization.
+# Only for sh architecture because in the other architecture are disabled.
+ifeq ($(TARGET_ARCH),sh)
+CFLAGS_basic-test := -mieee
+endif
EXTRA_CFLAGS := -DNO_LONG_DOUBLE -fno-builtin
EXTRA_LDFLAGS := -lm