Makefile for module with multiple directories

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

 



Hi,

I want to compile a kernel module whose source is organized in a
directory hierarchy. For eg:

driver
  |---A
  |    |---1.c
  |    |---2.c
  |
  |---B
       |---3.c
       |---4.c

I want to compile a single module (.ko) out of these source files. Can
you please suggest me a Makefile?

Thanks,

Rick

--
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