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

Makefile for module with multiple directories



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