From owner-freebsd-current@FreeBSD.ORG Mon Jun 18 07:53:38 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A476E106566C; Mon, 18 Jun 2012 07:53:38 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4CFA18FC0C; Mon, 18 Jun 2012 07:53:38 +0000 (UTC) Received: by obcni5 with SMTP id ni5so10309498obc.13 for ; Mon, 18 Jun 2012 00:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=D6lnSg21v7BILi5Z+8eVhqJnlrEmyRs4EiQ0wOBG668=; b=cT8JEdKGMo5C5Au6ywsdJrVkdOmYxT6iWDVhhSxoAiJQzU1eIZ97v2/IPFAW5P9Eud tHfmQc1wjBvyKohsqHTSD05wucPlH7Inn9DH/pzpRxiGnqn0zNoMDkJsZi0+LvGq2Axc EmoGqGxibLrkOuRIxhlb7rWUj+uJsP9biZVJrACOCIOjiqtqGolP6gXAvCa+CFai1d+A 6sYCYJs2M73LP165S1HKKr9iIdiAZz0Lj15B6BraJtGvr65TcRl4ZETKjkH+nHI2bphv 1KF90FiftgUkwhqhQqqUYQuJ2TYktlAtuEWAFaUXD4Ri3JPDBtSvt/vDFl0z5AfvoJRh l/2w== MIME-Version: 1.0 Received: by 10.60.2.3 with SMTP id 3mr14831986oeq.29.1340006017710; Mon, 18 Jun 2012 00:53:37 -0700 (PDT) Received: by 10.76.98.77 with HTTP; Mon, 18 Jun 2012 00:53:37 -0700 (PDT) In-Reply-To: References: <4FDE4A47.2030204@FreeBSD.org> Date: Mon, 18 Jun 2012 00:53:37 -0700 Message-ID: From: Garrett Cooper To: Daniel Braniss Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , freebsd-stable@freebsd.org, freebsd-current Subject: Re: PORTS_MODULES X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2012 07:53:38 -0000 On Mon, Jun 18, 2012 at 12:40 AM, Daniel Braniss wrot= e: >> Howdy, >> >> This is an FYI to let people know about a really nice feature for those >> that have ports installed which include kernel modules. You can place a >> list in /etc/src.conf like this: >> >> PORTS_MODULES=3D =A0emulators/virtualbox-ose-kmod sysutils/fusefs-kmod >> x11/nvidia-driver >> >> which will cause those modules to be built and installed with all the >> proper matching stuff at the same time as buildkernel and installkernel. >> >> This feature has existed for a while, but has had "issues." Thanks to a >> team effort it's a lot more robust now, and ready for prime time (in >> HEAD, and the -STABLE branches for now, soon to be in 9.1-RELEASE). >> >> Enjoy, >> >> Doug > > nice! > does it also work when cross-compiling? ie, using an amd64-freebsd-8.3 ke= rnel > to compile for i386-freebsd-8.2 In theory, yes, however some of the environment required to bootstrap some ports might be missing, depending on how the ports module pokes around for data in /usr/src, etc. Thanks! -Garrett