Makefile for module with multiple directories

From: Rick Brown
Date: Tue Mar 06 2007 - 05:33:36 EST


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 the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/