summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw/libofw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ofw/libofw/Makefile')
-rw-r--r--sys/boot/ofw/libofw/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/ofw/libofw/Makefile b/sys/boot/ofw/libofw/Makefile
index 8a56a77..5ea0de9 100644
--- a/sys/boot/ofw/libofw/Makefile
+++ b/sys/boot/ofw/libofw/Makefile
@@ -13,8 +13,9 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
CFLAGS+= -ffreestanding
-.if ${MACHINE_ARCH} == "powerpc"
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
CFLAGS+= -msoft-float
+SRCS+= ppc64_elf_freebsd.c
.endif
.ifdef(BOOT_DISK_DEBUG)
OpenPOWER on IntegriCloud