frodol@dds.nl said:
> It is not that difficult; lm_sensors does exactly this when building.
> Its Makefile looks in $(LINUX_HEADERS)/linux/autoconf.h (and $(LINUX)/
> .config and $(LINUX_HEADERS)/linux/config.h for older kernels) to
> determine whether it needs MOD_VERSIONS and SMP declarations.
make -C /usr/src/linux SUBDIRS=`pwd` modules
has always worked quite nicely for me.
-- dwmw2- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:38 EST