From owner-freebsd-arch@FreeBSD.ORG Mon Jan 9 08:39:05 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 70832106564A for ; Mon, 9 Jan 2012 08:39:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF718FC15 for ; Mon, 9 Jan 2012 08:39:05 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so4019684vbb.13 for ; Mon, 09 Jan 2012 00:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9S4BG8r05CE0UH49Qi1sNtjTYnu4COhDNaaa5rN3O8k=; b=r8xyoQmL26qy2IRP60AQ+5BhEr0pnlY9o84PBUDv1QJkyuRGxIYQZxJHpLi1MOD62q p7X13fNXZlVd4Cor50tBzjCL7H4AVuwiBVX8WgMntP8gkJ4168zLVfVXaz++YcMTevdu I116SVEkb7RW5GOoMwNVMPElryRpbBZ85XIUs= MIME-Version: 1.0 Received: by 10.52.35.10 with SMTP id d10mr6956576vdj.132.1326098344563; Mon, 09 Jan 2012 00:39:04 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.36.5 with HTTP; Mon, 9 Jan 2012 00:39:04 -0800 (PST) In-Reply-To: <09C21BD6-46E1-4593-9E3C-183CF229A613@lassitu.de> References: <09C21BD6-46E1-4593-9E3C-183CF229A613@lassitu.de> Date: Mon, 9 Jan 2012 00:39:04 -0800 X-Google-Sender-Auth: l1gddSjcmUABONBU-_ZGDrxHZuM Message-ID: From: Adrian Chadd To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 08:39:05 -0000 Because they have to compile only for MIPS? And they'd only work for ar71xx= ? Adrian On 8 January 2012 23:59, Stefan Bethke wrote: > Am 09.01.2012 um 00:42 schrieb Adrian Chadd: > >> Hi, >> >> 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. >> >> 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. >> >> They build fine if they're included in MODULES_OVERRIDE in the >> relevant kernel config file. >> >> 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? =A0Doe th= e tinderboxes build modules? > > > Stefan > > -- > Stefan Bethke =A0 Fon +49 151 14070811 > > >