From owner-freebsd-current Wed Mar 29 11:48:40 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA27401 for current-outgoing; Wed, 29 Mar 1995 11:48:40 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA27394 for ; Wed, 29 Mar 1995 11:48:35 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id FAA11057; Thu, 30 Mar 1995 05:47:20 +1000 Date: Thu, 30 Mar 1995 05:47:20 +1000 From: Bruce Evans Message-Id: <199503291947.FAA11057@godzilla.zeta.org.au> To: current@FreeBSD.org, nate@trout.sri.MT.net Subject: Re: Kernel compile 'feature' of new SNAP Sender: current-owner@FreeBSD.org Precedence: bulk >In the quest to make the kernel compile out of the source tree w/out >using the system includes, we have made it more difficult (and >confusing) for people who want to build custom kernels. A user send me >... >Would using an ENVIRONMENT variable be acceptable? No. >Current: ># Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails. >INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include Adding -I/usr/include to the end should be good enough. It will only do the wrong thing for people who who have populated $S/../include but forgot. Bruce