On Wed, 14 Sep 2005 01:39:44 -0700 Andrew Morton wrote: > Russell King <rmk+lkml@arm.linux.org.uk> wrote: > > > > LINUXINCLUDE := -Iinclude \ > > - $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) > > + $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ > > + -imacros include/linux/autoconf.h > > This means that over time the kernel will fail to compile correctly without > `-imacros include/linux/autoconf.h'. > > That's OK for the kernel, but not for out-of-tree stuff. Those drivers > will need to add the new gcc commandline option too. You mean out-of-tree drivers which don't use the kernel makefiles when compiling for 2.6? Are there such beasts, and do we care about them? (For 2.4 such crap was almost everywhere; for 2.6 the situation seems to be better.)
Attachment:
pgpJlq7XbuNRA.pgp
Description: PGP signature
- References:
- Missing #include <config.h>
- From: Jörn Engel <joern@infradead.org>
- Re: Missing #include <config.h>
- From: Russell King <rmk+lkml@arm.linux.org.uk>
- Re: [PATCH] Permanently fix kernel configuration include mess (was: Missing #include <config.h>)
- From: Russell King <rmk+lkml@arm.linux.org.uk>
- Re: [PATCH] Permanently fix kernel configuration include mess (was: Missing #include <config.h>)
- From: Andrew Morton <akpm@osdl.org>
- Missing #include <config.h>
- Prev by Date: Voluntary Preempt blocks mount events from HAL
- Next by Date: [patch 2.6.14-rc1] pci: only call pci_restore_bars at boot
- Previous by thread: Re: [PATCH] Permanently fix kernel configuration include mess (was: Missing #include <config.h>)
- Next by thread: Re: [PATCH] Permanently fix kernel configuration include mess (was: Missing #include <config.h>)
- Index(es):
