ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Can LTIB compile just one single module without recompiling w


From: Stuart Hughes
Subject: Re: [Ltib] Can LTIB compile just one single module without recompiling whole kernel???
Date: Tue, 31 Aug 2010 20:32:23 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Quentin,

No, I would not recommend moving stuff out of the kernel and into a
separate package.  If it's already in the kernel leave it there.

A re-build of the un-packed kernel source should be quick, a minute or
so once you've built it once.

Regards, Stuart

Quentin YANG wrote:
> Thanks. Stuart.
> 
> So, similar like what we've done for 'helloworld' module.
> " X:\lpc3250\ltib-qs\rpm\BUILD\hello_mod-1.2\"
> 
> I need to copy 'spidev.c/h' to a folder, say "
> X:\lpc3250\ltib-qs\rpm\BUILD\spidev_mod\ ", and remove all
> unpacked kernel source codes under "
> X:\lpc3250\ltib-qs\rpm\BUILD\linux-2.6.34\ ".
> 
> I'll give it a go.
> 
> Regards,
> Quentin
> 
> 
> On Mon, Aug 30, 2010 at 8:06 PM, Stuart Hughes <address@hidden> wrote:
>> Hi Quentin,
>>
>> If you leave the kernel source unpacked (there's an option for this),
>> then the re-compiles should be quick, as only the module and a bit of
>> house-keeping is done.
>>
>> Regards, Stuart
>>
>>
>> Quentin YANG wrote:
>>> Hi,
>>>
>>> I am modifying a module driver 'spidev.c'
>>>
>>> I already settled the kernel to use this as a module driver and,
>>> compiling it together with the kernel, it runs ok.
>>>
>>> To save time, I am wondering can LTIB compile 'spidev module' without
>>> re-compiling the whole kernel. ( Takes 2 or 3 minutes each compile
>>> with a tiny module source code change ).
>>>
>>> Can anyone advise me how to get LTIB to compile a single module only?
>>> (Only saw single package compile in LTIB -help)
>>>
>>> Thanks very much.
>>>
>>>
>>> Regards,
>>> Quentin
>>>
>>>
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]