From owner-freebsd-arch@FreeBSD.ORG Wed Oct 24 15:45:10 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 538351DD; Wed, 24 Oct 2012 15:45:10 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id DDB4C8FC16; Wed, 24 Oct 2012 15:45:08 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id q9OFj82N000734; Wed, 24 Oct 2012 10:45:08 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id q9OFj8Xk000733; Wed, 24 Oct 2012 10:45:08 -0500 (CDT) (envelope-from brooks) Date: Wed, 24 Oct 2012 10:45:08 -0500 From: Brooks Davis To: obrien@freebsd.org, Brooks Davis , Simon Gerraty , freebsd-arch@freebsd.org Subject: Re: bsd.own.mk - just let WITHOUT_* take precedence Message-ID: <20121024154508.GA93546@lor.one-eyed-alien.net> References: <20121007001423.9878F58094@chaos.jnpr.net> <20121008154853.GC23400@lor.one-eyed-alien.net> <20121022193903.GA88336@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <20121022193903.GA88336@dragon.NUXI.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 15:45:10 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 22, 2012 at 12:39:04PM -0700, David O'Brien wrote: > On Mon, Oct 08, 2012 at 10:48:53AM -0500, Brooks Davis wrote: > > On Sat, Oct 06, 2012 at 05:14:23PM -0700, Simon Gerraty wrote: > > > After being bitten by: > > > make: "/b/sjg/work/fbsd-head/src/share/mk/bsd.own.mk" line 490: WITH_= CTF > > > and WITHOUT_CTF can't both be set. > ... > > I'm not sure if I agree or not, I'll have to think more. This sort of > > thing that leads to me yelling at my computer "but I @#%$@# set > > WITH_FOO you ^@$@! machine." :) >=20 > Brooks, > Isn't that what some folks are currently doing trying to build a fully > DTrace ready system? Yes, though I've partially fixed this so you can actually follow the instructions in the wiki and set WITH_CTF though make.conf. > Have you had a chance to review Simon's latest diff? Yes it's fine if the problem we want to solve is being able to set WITH_FOO and WITHOUT_FOO. I'm not sure we don't really just want to let WITH_FOO be overridden by NO_FOO more reliably. > This is the only build knob I'm aware of where setting it manually in the > environment doesn't work the same as setting it in /etc/{src,make}.conf. There is also INSTALLLIB, MAN, and PROFILE, but I agree it's not ideal. I think I'd rather have NO_* override WITH_* in the later checks than always having WITHOUT_FOO override WITH_FOO. > Its been too hard to build a fully DTrace-ready FreeBSD for a long time. > We really need closure on this -- DTrace is too useful. >=20 >=20 > Note that our Handbook () still has: >=20 > >=20 > &prompt.root; cd /usr/src > > &prompt.root; make WITH_CTF=3D1 kernel > >=20 >=20 > We really need to make this as easy as possible for users and get the > docs matching reality. I believe this is largely wrong and outdated. -- Brooks >=20 > --=20 > -- David (obrien@FreeBSD.org) >=20 --J/dobhs11T7y2rNN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQiA0DXY6L6fI4GtQRAsGtAKCJF9/dzuL3bQyzqjO3vXn97UvINgCfcdPW vsPWGd6G3/P2Tg0X/U/87yI= =zM+X -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--