Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2012 00:39:04 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Where should I put ar71xx_* modules?
Message-ID:  <CAJ-VmomWF6g1kgrzKxvsveeOjc-sNoKNoL090331%2BwV4OPSAfw@mail.gmail.com>
In-Reply-To: <09C21BD6-46E1-4593-9E3C-183CF229A613@lassitu.de>
References:  <CAJ-Vmom08uFV%2BNMryjZon_xnqo95MAK8r2=0s_JqRet7EMdn4g@mail.gmail.com> <09C21BD6-46E1-4593-9E3C-183CF229A613@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Because they have to compile only for MIPS? And they'd only work for ar71xx=
?



Adrian

On 8 January 2012 23:59, Stefan Bethke <stb@lassitu.de> 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 <stb@lassitu.de> =A0 Fon +49 151 14070811
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomWF6g1kgrzKxvsveeOjc-sNoKNoL090331%2BwV4OPSAfw>