The path is now set for "busybox", FreeBSD style
adrian at freebsd.org
Sun Nov 14 03:40:22 UTC 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
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
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.
On 5 October 2010 10:36, Adrian Chadd <adrian at freebsd.org> wrote:
> I've broken out the crunchgen logic from src/rescue/rescue into a
> share/mk file - that way it can be reused in other areas.
> The diff is here: http://people.freebsd.org/~adrian/crunchgen-mk.diff<http://people.freebsd.org/%7Eadrian/crunchgen-mk.diff>
> This bsd.crunchgen.mk file is generic enough to use in my
> busybox-style thing as well as for src/rescue/rescue/.
> Comments, feedback, etc welcome!
More information about the freebsd-current