From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 2 17:20:10 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 9F4C91065672; Wed, 2 Feb 2011 17:20:10 +0000 (UTC) Date: Wed, 2 Feb 2011 17:20:10 +0000 From: Alexander Best To: Sergey Kandaurov Message-ID: <20110202172010.GA17563@freebsd.org> References: <20110106014046.GA324@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: freebsd-hackers@freebsd.org Subject: Re: broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 17:20:10 -0000 On Wed Feb 2 11, Sergey Kandaurov wrote: > On 6 January 2011 04:40, Alexander Best 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