Date: Thu, 24 Sep 2015 08:29:34 -0600 From: Ian Lepore <ian@freebsd.org> To: Russell Haley <russ.haley@gmail.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Building Less? Message-ID: <1443104974.1224.269.camel@freebsd.org> In-Reply-To: <CABx9NuRb5yOjrfM0i0pDmNzaEefdsTxByiggGm%2B-m0UW%2BK%2BbdA@mail.gmail.com> References: <CABx9NuRb5yOjrfM0i0pDmNzaEefdsTxByiggGm%2B-m0UW%2BK%2BbdA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1443104974.1224.269.camel>