ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] how to build a kernel module using ltib? (docu)


From: Stuart Hughes
Subject: Re: [Ltib] how to build a kernel module using ltib? (docu)
Date: Tue, 09 Jan 2007 10:08:38 +0000

Hi VinuxHuang,

As far as adding your own additional modules goes, this can be done
inside or outside of ltib.

If you don't want to integrate into LTIB, simply build your module
outside LTIB and then make a directory:
config/platform/<target>/merge/lib/modules/<version>/misc/
and then copy your module there.  You then have to manually load this
(or put into rc.local) at boot up.

If you want to integrate with LTIB, you'll need to write a spec file.
There are some hints in the FAQ at:
http://www.bitshrine.org/autodocs/LtibFaq.html
It's purely another package.  The only thing you'll need to remember is
to make sure that you leave the kernel sources unpacked when you build.
You can do this by adding a dependency in config/userspace/packages.lkc
or more simply by clicking the option: 
[x] Leave the sources after building 
When running './ltib --configure'

If you want to change the kernel configuration, take a look at this:
http://www.bitshrine.org/autodocs/LtibFaq.html#ref_24

Regards, Stuart

On Tue, 2007-01-09 at 11:31 +0800, 黄荣坚 wrote:
> Hello,all
>     I'm a novice of ltib,and I want to build and deploy a kernel
> module for the target linux running on the board.Though I have read
> the LtibFAQ document,there seem to be not enough information for me to
> do this. So I hope I can get some help here about how I can build and
> deploy a kernel module with Ltib.
>     Besides, I want to build a kernel which supports usb gadget mode.
> But when I use command: ./ltib -m config to configure the kernel ,I
> just can find the option
> in the configuration menu. How can I add the usb gadget support
> (file_storage etc.) to the configuration system? Would  you please
> give me some advice about this?
>     Thanks,
>     VinuxHuang
>  
> 
> ______________________________________________________________________

> 





reply via email to

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