From owner-freebsd-arch@FreeBSD.ORG Mon Jan 9 07:59:28 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9773E106566C; Mon, 9 Jan 2012 07:59:28 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9768FC08; Mon, 9 Jan 2012 07:59:28 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 28C8811A8DD; Mon, 9 Jan 2012 07:59:27 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: Date: Mon, 9 Jan 2012 08:59:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <09C21BD6-46E1-4593-9E3C-183CF229A613@lassitu.de> References: To: Adrian Chadd X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-arch@freebsd.org Subject: Re: Where should I put ar71xx_* modules? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 07:59:28 -0000 Am 09.01.2012 um 00:42 schrieb Adrian Chadd: > Hi, >=20 > In order to fit an lzma'd kernel in 892 kilobytes of flash (that's 892 > * 1024 bytes), I've needed to break out a few things into modules. >=20 > I'd like to commit a couple of modules - for example, > ar71xx_ehci/ar71xx_ohci for USB stuff - but I don't want them built > for anything other than ar71xx builds. Thus I don't see the reason for > putting them in sys/modules/Makefile. >=20 > They build fine if they're included in MODULES_OVERRIDE in the > relevant kernel config file. >=20 > So is it ok to just commit some modules in sys/modules/ which aren't > in the Makefile, and instead include them in the relevant SoC kernel > configs so they're built? Or is there some other tradition for doing > this? Why would it hurt to have them connected to the standard build? Doe the = tinderboxes build modules? Stefan --=20 Stefan Bethke Fon +49 151 14070811