summaryrefslogtreecommitdiff
path: root/mk/mips-arch.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-07-02 22:18:54 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-07-02 22:18:54 +0200
commit7e51d96939bbeec9c2a3d396b01b3fc24a1a2b6d (patch)
tree609dae127a9de9425a6f15d7fb6337c9e023ab61 /mk/mips-arch.mk
parent4d0c118d01a9066f1d44f4eb20d73e4410457312 (diff)
downloadembtoolkit-7e51d96939bbeec9c2a3d396b01b3fc24a1a2b6d.tar.gz
embtoolkit-7e51d96939bbeec9c2a3d396b01b3fc24a1a2b6d.tar.bz2
embtoolkit-7e51d96939bbeec9c2a3d396b01b3fc24a1a2b6d.tar.xz
Toolchain: GCC: define some configure options in arch Makefile
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/mips-arch.mk')
-rw-r--r--mk/mips-arch.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/mk/mips-arch.mk b/mk/mips-arch.mk
index 101a043..b51dde8 100644
--- a/mk/mips-arch.mk
+++ b/mk/mips-arch.mk
@@ -113,8 +113,6 @@ STRICT_GNU_TARGET := mipsisa64r2-unknown-linux-gnu
GNU_TARGET_ARCH := mips64r2
endif
-endif
-
#GCC configure options
GCC_WITH_ARCH := --with-arch=$(GNU_TARGET_ARCH)
export GCC_WITH_ARCH
@@ -145,3 +143,12 @@ EMBTK_TARGET_ABI := -mabi=64
export GCC_WITH_ABI EMBTK_TARGET_ABI
endif
+#Hard or soft floating point
+ifeq ($(CONFIG_EMBTK_SOFTFLOAT),y)
+GCC_WITH_FLOAT := --with-float=soft
+else
+GCC_WITH_FLOAT := --with-float=hard
+endif
+
+endif
+