Yes, you fundamentally need the full kernel to compile a module.
Modules may refer to different headers, and some may even be arch specific.
The trick dwmw2 gave you is the only _sane_ way to build a module.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/