summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/Makefile
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2014-02-23 22:12:25 +0000
committerrwatson <rwatson@FreeBSD.org>2014-02-23 22:12:25 +0000
commit228d78af30e9a92503a86350025653ba4f021155 (patch)
tree8fb4fc0e167bbd5686e7da9091871d65f9e41bba /sys/boot/fdt/Makefile
parent5274b44976067cd7353a0c0be3f94d1cb92db4e7 (diff)
downloadFreeBSD-src-228d78af30e9a92503a86350025653ba4f021155.zip
FreeBSD-src-228d78af30e9a92503a86350025653ba4f021155.tar.gz
When building FDT on MIPS, use softfloat.
MFC after: 3 weeks Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/boot/fdt/Makefile')
-rw-r--r--sys/boot/fdt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/fdt/Makefile b/sys/boot/fdt/Makefile
index 5df761d..ecb2808 100644
--- a/sys/boot/fdt/Makefile
+++ b/sys/boot/fdt/Makefile
@@ -16,7 +16,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/ \
CFLAGS+= -ffreestanding
-.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm"
+.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
CFLAGS+= -msoft-float
.endif
OpenPOWER on IntegriCloud