Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 17:32:18 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Warner Losh <imp@harmony.village.org>, Ruslan Ermilov <ru@FreeBSD.org>, Maxim Sobolev <sobomax@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, current@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: cvs commit: src Makefile.inc1 
Message-ID:  <200105161632.f4GGWIb30517@hak.lan.Awfulhak.org>
In-Reply-To: Message from Bruce Evans <bde@zeta.org.au>  of "Thu, 17 May 2001 00:51:59 %2B1000." <Pine.BSF.4.21.0105170042200.10277-100000@besplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 16 May 2001, Warner Losh wrote:
> 
> > In message <20010516101947.B23288@sunbay.com> Ruslan Ermilov writes:
> > : FWIW, my gross hack to usr.sbin/kbdcontrol also worked:
> > 
> > I tend to dislike adding ../../sys to the includes list since they
> > might not be compatible with the host's sys files used to build libc.
> 
> I'd like to remove all the existing ones.  They are a hack to handle
> the case where you haven't bootstrapped properly.  They intentionally
> give <sys> includes which may be incompatible with the host ones, in
> case the host ones are out of date relative to the src tree.  This
> depends on only a few headers like <sys/user.h> being out of date,
> and sometimes helps mainly for headers like <sys/user.h> which declare
> system structures that are groped in by userland.  But it is just a
> bug in general.

I have -I../../sys in src/usr.sbin/digictl/Makefile.

I put it there because the digi ioctl interface header isn't actually 
installed anywhere.  There's no good reason for this except that I 
couldn't think of a good place (/usr/include/sys/digi/ ?).  I cribbed 
the idea from the vinum(8) build.

How should this be done - and where should I install digiio.h if 
that's what's required ?

Cheers.

> Bruce

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105161632.f4GGWIb30517>