Subject: Re: Add libprop include path to libkern/Makefile.inc (was: CVS commit: src/sys/arch/arc/stand/boot)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Simon Burge <simonb@NetBSD.org>
List: source-changes
Date: 07/26/2006 10:28:05
Izumi Tsutsui wrote:

> netbsd@lists.veego.de wrote:
> 
> > On Sat, Jul 22, 2006 at 02:11:35PM +0000, Izumi Tsutsui wrote:
> > > 
> > > Module Name:	src
> > > Committed By:	tsutsui
> > > Date:		Sat Jul 22 14:11:35 UTC 2006
> > > 
> > > Modified Files:
> > > 	src/sys/arch/arc/stand/boot: Makefile
> > > 
> > > Log Message:
> > > Add "-I${S}/../common/include" to CPPFLAGS for libprop sources in libkern.
> > > 
> > > XXX: shouldn't this be handled by sys/lib/libkern/Makefile.inc?
> > 
> > I would say so and opened a pr a few months ago: port-i386/33431, but
> > Havard Eidnes said the couldn't reproduce this problem.
> 
> You could see the reason in lib/kern/prop_array.d etc.
> It referes header files under ${DESTDIR}/usr/include/prop
> rather than src/common/include/prop in build.sh case, and
> the problem could be reproduced if you try nbmake-{$MACHINE}
> under sys/arch/{$MACHINE}/stand without ${DESTDIR}.

We previously had a (unwritten?) goal of being able to build
sys/arch/*/stand without ${DESTDIR}.  Do we still want to be able to do
this?  I still find it handy to be able to do this to test out fixes and
changes for bootblocks without having to run a partial build.sh first...

Simon.