From owner-freebsd-current@FreeBSD.ORG Wed May 28 03:06:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF98F37B401 for ; Wed, 28 May 2003 03:06:30 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 71B6743F85 for ; Wed, 28 May 2003 03:06:29 -0700 (PDT) (envelope-from mdcki@gmx.net) Received: (qmail 22007 invoked by uid 65534); 28 May 2003 10:06:28 -0000 Received: from pD9E2D193.dip.t-dialin.net (EHLO gmx.net) (217.226.209.147) by mail.gmx.net (mp009) with SMTP; 28 May 2003 12:06:28 +0200 Message-ID: <3ED48A64.7070405@gmx.net> Date: Wed, 28 May 2003 12:07:32 +0200 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030517 X-Accept-Language: en-us, en, pl, ru MIME-Version: 1.0 To: Daniel O'Connor References: <200305281350.27953.doconnor@gsoft.com.au> <200305281447.02322.doconnor@gsoft.com.au> <20030528.030900.55833611.imp@bsdimp.com> <200305281840.46645.doconnor@gsoft.com.au> In-Reply-To: <200305281840.46645.doconnor@gsoft.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: scott_long@btc.adaptec.com cc: q_dolan@yahoo.com.au cc: "M. Warner Losh" cc: freebsd-current@freebsd.org Subject: Re: policy on GPL'd drivers? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 10:06:31 -0000 Daniel O'Connor wrote: > On Wed, 28 May 2003 18:39, M. Warner Losh wrote: > >>: > : Maybe the kernel build stuff can look in /usr/local/src/sys/modules >>: > : for things to build or something.. >>: > >>: > YUCK! >>: >>: *WHY?* >>: >>: I have asked this before BTW, and I haven't been told why it sucks. >> >>Because there are other, more elegant ways of dealing with these >>things. I don't like /usr/local/src anything, which was the main >>complaint. > > > If there are more elegant solutions I would like to know what they are. Trivial: ./buildmykernel where buildmykernel contains something along the lines of: #!/bin/sh # My rebuild procedure ( cd /usr/src/; make buildkernel; make installkernel ) && \ ( cd /usr/ports/comms/ltxxx; make; make deinstall; make reinstall ) Don't forget the shell! Automatin is the easiest way to handle repeating tasks. As an added bonus it is documenting the decisions you have made.