broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code?

Alexander Best arundel at freebsd.org
Wed Feb 2 17:20:10 UTC 2011


On Wed Feb  2 11, Sergey Kandaurov wrote:
> On 6 January 2011 04:40, Alexander Best <arundel at freebsd.org> wrote:
> > hi there,
> >
> > while building target buildkernel with 'clang -v' i noticed a lot of these
> > lines:
> >
> > ignoring nonexistent directory "/usr/subversion-src/sys/contrib/opensolaris/compat"
> >
> > i checked sys/conf/kern.pre.mk and there's a line refering to a non-existing
> > directory:
> >
> > # ...  and OpenSolaris
> > INCLUDES+= -I$S/contrib/opensolaris/compat
> 
> Hi, I just removed that path in r218189.

thanks a bunch. :)

i might do a 'make universe' build at some point with clang -v in order to
check, if there are more cases where non-existing include paths exist in the
freebsd src.

> 
> >
> > is suspect this should actually be:
> >
> > # ...  and OpenSolaris
> > INCLUDES+= -I$S/cddl/compat/opensolaris
> >
> > but i'm not sure of it.
> >
> 
> I found that instead it's included in modules' Makefile
> (e.g. as done for /sys/modules/cyclic).
> 
> -- 
> wbr,
> pluknet

-- 
a13x


More information about the freebsd-hackers mailing list