Re: Building external module

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

 



On Sat, Jun 28, 2008 at 02:16:14AM +0500, Shaz wrote:
> Hi,
> 
> Need to compile an external module as a kernel built-in module. Its
> Makefile is set as obj-m meaning as a loadable module so it will be
> kept on filesystem separately. This means I have to do obj-y to make
> it built-in. But I wanted to know, before I just try it out, that the
> Makefile of the kernel module is way too complex for me and there was
> an install target which is creating files for miscilleneous functions
> of the module and it had a /dev/<module-name>, which means its a
> device driver.
> 
> So what do I need to consider apart from the change obj-m to obj-y?

It does not work this way.

You have to add the external module to the kernel sources so that it 
gets built when the kernel gets built.

> Shaz

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux