From owner-freebsd-stable@FreeBSD.ORG Sat Apr 25 15:52:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93D421065756 for ; Sat, 25 Apr 2009 15:52:17 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 547D38FC22 for ; Sat, 25 Apr 2009 15:52:17 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [88.130.206.124]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 5C3228A00D1 for ; Sat, 25 Apr 2009 17:52:14 +0200 (CEST) Message-ID: <49F33195.7070200@bsdforen.de> Date: Sat, 25 Apr 2009 17:51:49 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: installing crossbuilds X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 15:52:18 -0000 Back before the 7.0 Release I used to install cross builds by NFS-mounting /usr/src and /usr/obj of the build machine on the target machine and running: # cd /usr/src # env MAKEOBJDIRPREFIX=/usr/obj/ make installkernel KERNCONF= ... This doesn't work any more because all the installation tools are built for the architecture of the build system. The alternative to mount the whole fstab structure of the target machine into the build server and installing with DESTDIR works, but feels pretty clumsy in comparison. Is there any way to change that behaviour (most of the stuff that ends up having the wrong architecture is in tmp/legacy, but there's more).