From owner-cvs-all Wed May 16 9:32:41 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 43BD437B422; Wed, 16 May 2001 09:32:31 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4GGWB100960; Wed, 16 May 2001 17:32:11 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4GGWIb30517; Wed, 16 May 2001 17:32:18 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105161632.f4GGWIb30517@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Bruce Evans Cc: Warner Losh , Ruslan Ermilov , Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, current@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src Makefile.inc1 In-Reply-To: Message from Bruce Evans of "Thu, 17 May 2001 00:51:59 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 May 2001 17:32:18 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 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 being out of date, > and sometimes helps mainly for headers like 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 Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message