How to compile a single module in linux kernel tree (2.6 kernel)

From: karthik
Date: Sat Apr 09 2005 - 01:29:50 EST


Hi ,

Is it possible to compile a single module in the kernel souce and
load it. if then the how to do it.

Actually i tried to compile the mga driver in the kernel by giving
the command
make mga
but it didnt compiled showing many errors like
undefined reference to__this_module
undefined rreference to printk
etc

so please tell me how to comiple a single module or driver in 2.6
kernel.

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