From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 17 03:07:11 2010 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79F9D1065673; Wed, 17 Nov 2010 03:07:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id AEACF8FC18; Wed, 17 Nov 2010 03:07:10 +0000 (UTC) Received: by wwd20 with SMTP id 20so1493126wwd.31 for ; Tue, 16 Nov 2010 19:07:09 -0800 (PST) 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; bh=HOAX9yMStPrnvHc2fKb7Q3ZH5TwmPb9EXEblnBgPlss=; b=j6stnoYdkAVPxWD6LNBmNzt/V/AsaIPcZetLoxjItY4xORhBgDUOOgkcSe1VBTmL5/ RMISx8eUTIEL8cEnyHQoGoBUUoYVcaxLMcYpSRC/GtabOiR2VEfxXSwlzjSYm76UquDJ 6XTVh7u8E15vB9p0DwTvX9kWAA3NbmS1BAdHc= 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; b=gYCPQAocktbZ4zBwLqkVO7jppVnKL7JxxqxFyNXiY+tcT5wEiH2PQ1blATJovvODe9 E/IB9OO3wF7AM992uB0NDmKKHKiCqFosToZD50G2IbziJ6x11j2tnEqgXpwt9j58ZOYG qaZg3bcA8sDcvVKXdzCucvtU5wXlcJP5/uAH8= MIME-Version: 1.0 Received: by 10.216.142.131 with SMTP id i3mr1132874wej.5.1289963229083; Tue, 16 Nov 2010 19:07:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Tue, 16 Nov 2010 19:07:09 -0800 (PST) In-Reply-To: <19680.8138.582316.245120@gossamer.timing.com> References: <19680.8138.582316.245120@gossamer.timing.com> Date: Wed, 17 Nov 2010 11:07:09 +0800 X-Google-Sender-Auth: NtB3hwy-bl4gpj2aXNFar1oUPss Message-ID: From: Adrian Chadd To: John Hein Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-current , freebsd-embedded@freebsd.org Subject: Re: The path is now set for "busybox", FreeBSD style X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 03:07:11 -0000 Nope. it's easy. That's why I've done it. Adrian On 15 November 2010 01:43, John Hein wrote: > Adrian Chadd wrote at 11:40 +0800 on Nov 14, 2010: > > I've committed the below changes to -HEAD. You can now create and build > your > > own busybox style binary system, completely cross-compiled within the > > existing Make framework. It isn't as impressive as it sounds though - a > lot > > of the framework is already there from just building crunchgen'ed > > rescue/sysinstall binaries. > > > > There's a few things which should be done. Specifically, being able to > build > > an alternative set of libraries before building the crunchgen target. > The > > base crosscompile system may include support for PAM, Kerberos, ATM/IPX, > etc > > but you may not want your crunch'ed image to have them. To do this right > > now, you have to disable these features in the main build. That may be > OK > > for some. > > > > But just to stress it - I've got a couple of access point images at home > > running a crunchgen'ed environment under MIPS and besides the obvious > binary > > bloat, it works perfectly well. Besides a cut-down startup framework, > the > > image cross-builds entirely from the base FreeBSD source tree. > > > > Let me know if you'd like to give it a shot and I'll put my "bsdbox" > > Makefile scripts online to try. > > That's great. > I assume it be not be hard for someone to take your scripts as a > starting point and create a sysutils/bsdbox akin to sysutils/busybox? >