From b3c8be00bb3683aaa904a9dc5d04fd90c9b4fdd3 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Fri, 27 Nov 2009 11:11:22 +0000 Subject: [PATCH] Add src/common/include to -Ipath for proplib(3) so that build works even without installed DESTDIR. --- sys/arch/sparc/stand/Makefile.buildboot | 3 ++- sys/arch/sparc/stand/ofwboot/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/stand/Makefile.buildboot b/sys/arch/sparc/stand/Makefile.buildboot index 918235a409c7..a44c4f786cf2 100644 --- a/sys/arch/sparc/stand/Makefile.buildboot +++ b/sys/arch/sparc/stand/Makefile.buildboot @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.buildboot,v 1.25 2009/03/29 07:19:40 tsutsui Exp $ +# $NetBSD: Makefile.buildboot,v 1.26 2009/11/27 11:11:22 tsutsui Exp $ # # This file is for the sparc `boot' and `bootxx' only; it does not # currently play well on a 64-bit system. @@ -34,6 +34,7 @@ RELOC_BOOTXX= 300000 CPPFLAGS+= -D_STANDALONE -DSUN4 -DSUN4C -DSUN4M -DSUN4D -DHEAP_VARIABLE CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. +CPPFLAGS+= -I${.CURDIR}/../../../../../common/include CFLAGS= -Os CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -ffreestanding diff --git a/sys/arch/sparc/stand/ofwboot/Makefile b/sys/arch/sparc/stand/ofwboot/Makefile index 4b1d7f499cf1..ca6b6c540d17 100644 --- a/sys/arch/sparc/stand/ofwboot/Makefile +++ b/sys/arch/sparc/stand/ofwboot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/10/17 19:57:16 garbled Exp $ +# $NetBSD: Makefile,v 1.22 2009/11/27 11:14:23 tsutsui Exp $ CURDIR= ${.CURDIR} S= ${CURDIR}/../../../.. @@ -49,6 +49,7 @@ RELOC= 100000 ENTRY= _start CPPFLAGS+= -I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I. +CPPFLAGS+= -I${CURDIR}/../../../../../common/include CPPFLAGS+= -DRELOC=0x${RELOC} #