From owner-freebsd-arch@FreeBSD.ORG Tue Jun 29 20:40:21 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC1E71065675; Tue, 29 Jun 2010 20:40:21 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 61B208FC17; Tue, 29 Jun 2010 20:40:21 +0000 (UTC) Received: by iwn9 with SMTP id 9so70353iwn.13 for ; Tue, 29 Jun 2010 13:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=CMxNCQpUZ7Xeqnze69UOuPN5jlZ0Yhyf4VErut7CwyQ=; b=fM13Ppc+lgi+nOFUq2FBXnksn74CZXbfjO5mbvLXWFcLnzL8C363bL/jOJ7Z4UcE/5 XAorYbcKuzNkf0tAb/ZWLZyHYc+clmd2NDzunwpLhvL18J3OKCRtm/nwS7CLchHXZwxr yGoiFfGwKPteVJp49C50Np954Lo3PnF+ZU+X0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Ldr9n4BNsD6ROeP8V5y/mcLOtBUVIcqHEIoCgEe6/zh6wmQ925D+uXjyOKy9QpjZjr 3FDD4/CZS1W39Sdz/Zfyfvp9mMQSozOxG1P30aJRhBtT2wGL6OHffCKOGGlPmxTHPV0o er86JP/mOKxpee24vWgCsxe5c5t1ABxTM2VUo= MIME-Version: 1.0 Received: by 10.231.184.75 with SMTP id cj11mr7673813ibb.51.1277844020837; Tue, 29 Jun 2010 13:40:20 -0700 (PDT) Sender: yanegomi@gmail.com Received: by 10.231.209.71 with HTTP; Tue, 29 Jun 2010 13:40:20 -0700 (PDT) In-Reply-To: <20100629.111921.1075071109811565815.imp@bsdimp.com> References: <20100628052344.GB8478@edoofus.dev.vega.ru> <20100629.111921.1075071109811565815.imp@bsdimp.com> Date: Tue, 29 Jun 2010 13:40:20 -0700 X-Google-Sender-Auth: xiE_7LT6HNc8vcUWsZ1WDDElGgk Message-ID: From: Garrett Cooper To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org Subject: Re: Build tools X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 20:40:21 -0000 On Tue, Jun 29, 2010 at 10:19 AM, M. Warner Losh wrote: > In message: > =A0 =A0 =A0 =A0 =A0 =A0Garrett Cooper writes: > : On Sun, Jun 27, 2010 at 11:38 PM, Garrett Cooper = wrote: > : > On Sun, Jun 27, 2010 at 10:23 PM, Ruslan Ermilov wro= te: > : >> Hi Warner, > : >> > : >> On Sat, Jun 26, 2010 at 06:17:19PM -0600, M. Warner Losh wrote: > : >>> In message: <20100626.172307.4959786928950356.imp@bsdimp.com> > : >>> =A0 =A0 =A0 =A0 =A0 =A0 "M. Warner Losh" writes: > : >>> : Hey Ruslan, > : >>> : > : >>> : Maybe you can help me understand why the following are in the > : >>> : buildtools list: > : >>> : _share=3D share/syscons/scrnmaps > : >>> : > : >>> : =A0 =A0 bin/csh \ > : >>> : =A0 =A0 lib/ncurses/ncurses \ > : >>> : =A0 =A0 lib/ncurses/ncursesw \ > : >>> : =A0 =A0 ${_share} \ > : >>> : =A0 =A0 lib/libmagic \ > : >>> : =A0 =A0 usr.sbin/sysinstall > : >>> : > : >>> : There's clearly some side effects that I'm missing here... > : >>> > : >>> I'm missing that build-tools: target is built, and that those tools > : >>> are then used to build these items. =A0It isn't that these items ar= e > : >>> built themselves. > : >> > : >> Is there anything else I'm supposed to answer? =A0:-) > : > > : > I think I see why peter@ added the sysinstall bit. If you look at the > : > Makefile itself there's a built-tools target (which is fairly > : > inconsequential as the rtermcap program is relatively small), and a > : > dependency to check for an existing prebuilt fat termcap file and/or > : > build a copy from scratch if the prebuilt one doesn't exist. I have n= o > : > idea why it's in sysinstall's Makefile -- but it's there today (which > : > means that one should probably tread around it with a big stick for > : > the time being, and eventually be moved out if it's of value). > : > : =A0 =A0 Finally got things netbooted, and I verified that nothing blew = up > : with sysinstall missing from the box. > > I've audited at least the build-tools target portion, and nothing will > break if we don't build it during the build-tools phase, so long as we > don't try to build sysinstall later. =A0Of course, a stripped termcap > file likely should replace the compiled-in entries. =A0Many people have > had good luck getting the stripped version to be extra-tiny. =A0Also, > many of the entries that are compiled in are no longer relevant, and > could be removed (another reason to have them be in a file sysinstall > reads). =A0The days of 1.2MB floppies that motivated this in the first > place are long gone... Because the defacto floppy size was increased from 1.2MB to 1.44MB, or because floppies should die (pc98 folks would probably disagree though as that's why sysinstall still has floppy support :/)? Thanks! -Garrett