diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-02-09 05:20:53 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-02-09 05:20:53 +0000 |
commit | be01f6c839a509417a10a8d8ea512ee55d57112f (patch) | |
tree | afed360b6e49607a5de6b687ebd484aef9047928 | |
parent | e8305ca44366352d1d1a60cc36169a50a9de05ee (diff) |
Add support for loading the bootloader and kernel from an HFS filesystem,
using firmware. Mostly from NetBSD. This allows kernels to be booted directly
from an HFS hard drive.
-rw-r--r-- | sys/arch/powerpc/stand/boot.mac/Makefile | 4 | ||||
-rw-r--r-- | sys/arch/powerpc/stand/ofwboot/Makefile | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/powerpc/stand/boot.mac/Makefile b/sys/arch/powerpc/stand/boot.mac/Makefile index 59533e28a9b..62380cfd927 100644 --- a/sys/arch/powerpc/stand/boot.mac/Makefile +++ b/sys/arch/powerpc/stand/boot.mac/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2000/04/27 12:36:29 rahnds Exp $ +# $OpenBSD: Makefile,v 1.7 2001/02/09 05:20:51 drahn Exp $ # $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $ R= .. @@ -6,7 +6,7 @@ R= .. RELOC= 6c0000 ENTRY= _entry PROG= boot.mac -SRCS= Locore.c boot.c ofdev.c net.c netif_of.c alloc.c +SRCS= Locore.c boot.c ofdev.c net.c netif_of.c alloc.c hfs.c CFLAGS+= -DDEBUG -DNETIF_DEBUG CFLAGS+= -DXCOFF_GLUE NOMAN= diff --git a/sys/arch/powerpc/stand/ofwboot/Makefile b/sys/arch/powerpc/stand/ofwboot/Makefile index 7a136782db5..7eb26081857 100644 --- a/sys/arch/powerpc/stand/ofwboot/Makefile +++ b/sys/arch/powerpc/stand/ofwboot/Makefile @@ -1,10 +1,11 @@ +# $OpenBSD: Makefile,v 1.4 2001/02/09 05:20:52 drahn Exp $ # $NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $ S= ${.CURDIR}/../../../.. R=../ PROG= ofwboot -SRCS= Locore.c boot.c ofdev.c net.c netif_of.c alloc.c cache.c +SRCS= Locore.c boot.c ofdev.c net.c netif_of.c alloc.c cache.c hfs.c .PATH: ${S}/arch/powerpc/stand SRCS+= ofwmagic.S #CFLAGS+= -DDEBUG -DNETIF_DEBUG |