Re: Penelope builds a kernel

David Woodhouse (dwmw2@infradead.org)
Tue, 15 Jan 2002 20:37:06 +0000


ingo.oeser@informatik.tu-chemnitz.de said:
> make -C /lib/modules/`uname -r`/kernel SUBDIRS=`pwd` modules
> Which works quite pretty with 2.2.x Makefiles and Rules.make, but does
> not work with 2.4.x. I don't know if this is intentional or just
> oversight.

> If someone has a working makefile using this saner approach and even
> support subdirs I would apreciate it[1].

It works for me with 2.4, and I use it all the time. See the GNUmakefiles in
MTD CVS which do it automatically for you if you're not already running as
part of a kernel build.

--
dwmw2

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