Re: Source modules Makefile (was: Re: new IRQ scalability changes in 2.3.48)

From: David Woodhouse (dwmw2@infradead.org)
Date: Thu Mar 23 2000 - 08:45:31 EST


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