From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 14 16:23:05 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94BECB59 for ; Sat, 14 Mar 2015 16:23:05 +0000 (UTC) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78ECE391 for ; Sat, 14 Mar 2015 16:23:05 +0000 (UTC) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t2EGMwxQ018529 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Mar 2015 09:22:58 -0700 Message-ID: <55046061.8010506@freebsd.org> Date: Sat, 14 Mar 2015 09:22:57 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Chris H , FreeBSD Hackers Subject: Re: What's the possibilities of recycling /usr/obj for other targets, etc? References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVb2Kb+o4Ugk3M74bq3jRR8Pnbj6nLuAeHXKkgVB8I3tZM1SSK+qRXCJJb5NuMRVULnb8jUrK1H4F4yi3QAZ+9TNZYU9prbqYTY= X-Sonic-ID: C;rr1sYGbK5BGAgL5YxQPdhw== M;qD/NYGbK5BGAgL5YxQPdhw== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2015 16:23:05 -0000 On 03/13/15 18:09, Chris H wrote: > Greetings all, > I've been combing /usr/src, build, relese, and > release engineering in the FBSD docs, for the last > couple days. But still haven't *quite* unwound everything > in src. What I'm attempting to do, is to recycle a recent > build/install world/kernel I still have in /usr/obj. > To create > 1) a utility CD/DV > 2) a [minimal] "release" CD/DVD > I'm *sure* I'm just over-complicating things. But > it's still unclear as to whether any of the already > available targets/dists -- release, distribute, > distributekernel, distributeworld. Will attempt to > REbuild world && kernel, before proceeding. If I'm > not mistaken -DNO_CLEAN (might?) help me coerce make to > do my bidding. Or is only available to speed up the > initial build, after a > cd /usr/obj > chflags -R noschg * > rm -rf * > > Any help, pointers, suggestions, ... *greatly* appreciated. > > BTW I'm attempting this on a recent -CURRENT (11). > > Thanks! make release by default will reuse the results of the previous buildworld/buildkernel in /usr/obj (see release(7)). So everything should just work for you there. -Nathan