diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-11 17:47:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-11 17:47:00 +0000 |
commit | a0c321c80744d259e5189037309325cff87f791f (patch) | |
tree | f7949a4eb0052d9e310adde9fd1ee27e2a4a88a3 /sys | |
parent | 12220e474b7450023631a86769038156c53acd8b (diff) |
Build actual boot code with -D_STANDALONE so that we do not include userland
headers by mistake.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/stand/boot.mac/Makefile | 3 | ||||
-rw-r--r-- | sys/arch/macppc/stand/ofwboot/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/macppc/stand/boot.mac/Makefile b/sys/arch/macppc/stand/boot.mac/Makefile index fa7ecf6667b..602ba54701a 100644 --- a/sys/arch/macppc/stand/boot.mac/Makefile +++ b/sys/arch/macppc/stand/boot.mac/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2014/11/19 20:02:46 miod Exp $ +# $OpenBSD: Makefile,v 1.13 2015/09/11 17:46:59 miod Exp $ # $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $ S= ${.CURDIR}/../../../.. @@ -8,6 +8,7 @@ RELOC= E00000 ENTRY= _entry NOMAN= PROG= boot.mac +CFLAGS+= -D_STANDALONE SRCS= Locore.c main.c ofdev.c net.c netif_of.c netudp.c SRCS+= alloc.c cache.c hfs.c SRCS+= boot.c conf.c cmd.c vars.c ctime.c strtol.c diff --git a/sys/arch/macppc/stand/ofwboot/Makefile b/sys/arch/macppc/stand/ofwboot/Makefile index 67dbbc78a35..f2e89e59f01 100644 --- a/sys/arch/macppc/stand/ofwboot/Makefile +++ b/sys/arch/macppc/stand/ofwboot/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.13 2014/11/19 20:02:50 miod Exp $ +# $OpenBSD: Makefile,v 1.14 2015/09/11 17:46:59 miod Exp $ # $NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $ S= ${.CURDIR}/../../../.. R=../ PROG= ofwboot +CFLAGS+= -D_STANDALONE SRCS= Locore.c main.c ofdev.c net.c netif_of.c netudp.c SRCS+= alloc.c cache.c hfs.c SRCS+= boot.c conf.c cmd.c vars.c ctime.c strtol.c |