From owner-freebsd-arm@freebsd.org Mon Sep 28 03:20:17 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C52909CFE83 for ; Mon, 28 Sep 2015 03:20:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 718A6CE9 for ; Mon, 28 Sep 2015 03:20:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qgx61 with SMTP id 61so110976498qgx.3 for ; Sun, 27 Sep 2015 20:20:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FvlKm0TfWQt9NpROEpCI5ar+SFHpeqEQn5c0IBv5C0M=; b=nMhK5qW9eTsAIs6KNbR5ckuWhTP4TNS3GHdgYFw0544eIym/mddePdvjFajhtSF9uN yza3CMmHyJ0XQj5SY4iyW+D8VxCqglocO3+8baKjWeEODtwBmKrKRpgwfM1tETu0zwRa DjtlFzs33tepYk+tMciOChAJozklxRNChAAKORwAIdzIOCTMJ4TFUjxHNzIR+k/DzgTS TJAKDvLJVcub1vuJHfarMTMXmFh9zFAU2p2ZzI7ox73q4f3GFYwCUgNvmLCdJifesv/o 5j57OUPZ0Q97D1xXPoZwURAi/j7Mi6QTTeTK6sFQU8wl15YT+vQwCX2F9S1NghXcDK3L M6ww== X-Gm-Message-State: ALoCoQnr7b4NlUbRpVcnCLhr1LYnONyS5BiuMYpExyT7yHvdsFcUX7tSTYQI1G2sHDvw/ZJE5+RT MIME-Version: 1.0 X-Received: by 10.140.83.202 with SMTP id j68mr20204286qgd.46.1443410410050; Sun, 27 Sep 2015 20:20:10 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.140.80.167 with HTTP; Sun, 27 Sep 2015 20:20:09 -0700 (PDT) X-Originating-IP: [2601:280:4900:3700:e41f:aefc:56c6:fc99] In-Reply-To: References: <1443104974.1224.269.camel@freebsd.org> Date: Sun, 27 Sep 2015 21:20:09 -0600 X-Google-Sender-Auth: QgnmpeYPBXft6a9R2jie71KNreM Message-ID: Subject: Re: Building Less? From: Warner Losh To: Russell Haley Cc: freebsd-arm , Ian Lepore Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 03:20:17 -0000 src.conf(5) describes it. Warner On Sat, Sep 26, 2015 at 10:49 PM, Russell Haley wrote: > Interestingly the man pages for build that are linked to the src.conf man > pages don't seem to describe the srcconf variable. Or did I miss something? > > > https://www.freebsd.org/cgi/man.cgi?query=build&sektion=7&apropos=0&manpath=FreeBSD+10.2-RELEASE > > Russ > > On Sat, Sep 26, 2015 at 9:07 PM, Russell Haley > wrote: > > > Awesome, thanks for the src.conf files Michael, and thank you Ian for the > > description. It's kind of like the secret recipe! Together with the > > memdisk method that Ganbold has suggested I should be able to bring down > my > > turn-around time. > > > > Cheers, > > Russ > > > > On Thu, Sep 24, 2015 at 7:29 AM, Ian Lepore wrote: > > > >> On Wed, 2015-09-23 at 22:15 -0700, Russell Haley wrote: > >> > Hi there, > >> > > >> > I've pivoted back to my ARM board again. I noticed that when I build > >> world, > >> > it builds all the man pages and languages and a whole bunch of other > >> stuff. > >> > That's not too bad because I have a decent computer, but when I run > >> > installworld and install onto an sd card things get really slow. > >> > > >> > Is there a way to reduce what I am building and installing onto the sd > >> card? > >> > > >> > > >> > Current process: > >> > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld > >> > > >> > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 > >> buildkernel > >> > > >> > sudo mount /dev/da2s2 /usr/jails/Jailbird/mnt/ufspart > >> > make TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt/ufspart installworld > >> > distribution > >> > > >> > > >> > > >> > Thanks, > >> > > >> > Russ > >> > >> Add to your crossbuild command line "srcconf=/some/path/src.conf" and in > >> that src.conf file put a bunch of WITHOUT_foo commands to eliminate the > >> things you don't need in the target system. Iirc, you need a fully- > >> qualified pathname in the srcconf=. > >> > >> "man src.conf" gives you the list of WITH/WITHOUT controls you can set. > >> > >> Be sure to keep your crossbuild src.conf file(s) separate from your > >> main /etc/src.conf file that's used when you build the host system. > >> > >> -- Ian > >> > >> > >> > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >