how to make Linux Modules into tarball?

Lane Brooks lane at brooks.nu
Sat Feb 19 19:45:06 MST 2011


On 02/19/2011 05:41 PM, AJ ONeal wrote:
> No, I'm asking if there is a standard way to grab all of the modules I made
> for easy deployment to my target.
>
> I suppose I could do something like
> find ~/linux-2.6 -name *.ko -exec cp {} ~/target/usr/lib/modules/2.6.36/ \;
>
> and then create the tarball from that. I just figured there'd be something
> like
>
> `make modules` (which I haven't actually tried yet)
>
> that would put them all together in
> arch/arm/modules/linux-modules-2.6.36.tar.gz or something similar
>
> AJ ONeal
>
>
> On Sat, Feb 19, 2011 at 5:35 PM, Jonathan Duncan<
> jonathan at bluesunhosting.com>  wrote:
>
>> On 19 Feb 2011, at 17:29, AJ ONeal wrote:
>>
>>> How do I get all of the modules I've built for my kernel packaged into a
>>> tarball?
>>>
>>> They're stored in a lot of subdirectories.
>>>
>>> Can I set up a common module directory?
>>>
>>> I'm sure there's an easy way to do this that I'm missing.
>>>

make INSTALL_MOD_PATH=install modules_install




More information about the PLUG mailing list