ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] How to add loadable kernel modules


From: Hamilton Vera
Subject: Re: [Ltib] How to add loadable kernel modules
Date: Mon, 31 Aug 2009 16:55:24 -0300

Hi Ke, have you compiled this driver in another platform like x86?

Is the source code available? If so, we can provide a better way to help you.

[]'s



On Mon, Aug 31, 2009 at 2:42 PM, kshen<address@hidden> wrote:
> Hi,
> I’m trying to add a loadable kernel module.
>
> I put the device driver under linux/drivers/my_drivers/my_driver_1. I
> changed the Kconfig in linux/drivers and linux/drivers/my_drivers to add
> this module to the config menu. I wrote the Makefile in
> linux/drivers/my_drivers/my_driver_1 as
>
> obj-$(CONFIG_MY_DRIVER_1)   += my_driver_1.o
> my_driver_1-objs := mydriverfile.o
>
> I also enabled the Loadable Kernel Modules option in menuconfig.
>
> However, after compile, I got the my_driver_1.o and mydriverfile.o files,
> but not the my_driver_1.ko file.
>
> What did I do wrong?
>
> Thanks a lot.
>
> Ke
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>
>



-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com




reply via email to

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