diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-23 01:53:03 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-23 01:53:03 +0000 |
commit | d2f51022c0ee895a2996e2f6735f063979d39cd1 (patch) | |
tree | f8c37c60114adabd7a3845fe09b09460654cca54 /sys/arch/powerpc/stand/boot.mac | |
parent | 14b39a831f4b4120bdaea878ee1854853b9c2d02 (diff) |
Support for powerpc to load symbols, uses new libsa loadfile.
Diffstat (limited to 'sys/arch/powerpc/stand/boot.mac')
-rw-r--r-- | sys/arch/powerpc/stand/boot.mac/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/powerpc/stand/boot.mac/Makefile b/sys/arch/powerpc/stand/boot.mac/Makefile index 62380cfd927..8cb43416b21 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.7 2001/02/09 05:20:51 drahn Exp $ +# $OpenBSD: Makefile,v 1.8 2001/06/23 01:53:02 drahn Exp $ # $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $ R= .. @@ -6,16 +6,20 @@ R= .. RELOC= 6c0000 ENTRY= _entry PROG= boot.mac -SRCS= Locore.c boot.c ofdev.c net.c netif_of.c alloc.c hfs.c +SRCS= Locore.c boot.c ofdev.c net.c netif_of.c alloc.c cache.c hfs.c CFLAGS+= -DDEBUG -DNETIF_DEBUG -CFLAGS+= -DXCOFF_GLUE NOMAN= INSTALL_STRIP= BINDIR= /usr/mdec OBJCOPY?= objcopy OBJCOPY_ARGS= -O aixcoff-rs6000 -R .stab -R .stabstr -R .comment LDFLAGS= -X -Ttext ${RELOC} -e $(ENTRY) -T ${.CURDIR}/ld.script + +CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. +CPPFLAGS+= -DRELOC=0x${RELOC} +CPPFLAGS+= -DFIRMWORKSBUGS CPPFLAGS+= -DPOWERPC_BOOT_ELF +CPPFLAGS+= -DXCOFF_GLUE # for booting PCI Powermacs LIBS!= cd $(.CURDIR)/$(R); $(MAKE) libdep |