diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-12 00:49:22 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-12 00:49:22 +0000 |
commit | 88c6aef3299b7697de9a97ece63bc1b19b7c35c1 (patch) | |
tree | d99dc307dc7218f4c94faf9da092277a7c8ca452 /sys/boot/ofw/libofw/Makefile | |
parent | 33836b0d5c1da9a4b3bd4f8eb8ba8496b77ce2b0 (diff) | |
download | FreeBSD-src-88c6aef3299b7697de9a97ece63bc1b19b7c35c1.zip FreeBSD-src-88c6aef3299b7697de9a97ece63bc1b19b7c35c1.tar.gz |
Provide support in loader for booting 64-bit PowerPC kernels. Like amd64,
64-bit PowerPC kernels are loaded by a 32-bit loader, since nearly all
powerpc64 firmwares execute in 32-bit mode.
Diffstat (limited to 'sys/boot/ofw/libofw/Makefile')
-rw-r--r-- | sys/boot/ofw/libofw/Makefile | 3 |
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) |