Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2006 13:17:30 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        "R. Tyler Ballance" <tyler@bleepsoft.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Building a sandboxed kernel
Message-ID:  <86mzb0vad1.fsf@xps.des.no>
In-Reply-To: <3320CEAC-8A5C-407D-9867-C2A22820A599@bleepsoft.com> (R. Tyler Ballance's message of "Sun, 23 Jul 2006 05:52:39 -0500")
References:  <7ADD22A7-42DE-49D8-B411-DBA4CB2FA0CD@bleepsoft.com> <20060723100223.GB24435@gothmog.pc> <3320CEAC-8A5C-407D-9867-C2A22820A599@bleepsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"R. Tyler Ballance" <tyler@bleepsoft.com> writes:
> This doesn't solve the problem of different versions of userland
> tools required.

$ cd /foo/bar/src
$ make kernel-toolchain TARGET_ARCH=3Diguana
$ make buildkernel TARGET_ARCH=3Diguana

no need for a jail or a chroot or anything; buildkernel will use the
cross-building toolchain built by kernel-toolchain.

note 1: you don't need DESTDIR to build, only to install.

note 2: you probably want to use NO_KERNELCLEAN to avoid starting
every buildkernel from scratch.

note 3: most of this is documented in build(7)

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mzb0vad1.fsf>