Re: [PATCH] Permanently fix kernel configuration include mess (was: Missing #include <config.h>)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Russell King <[email protected]> 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.

Not that I'm saying it's a terrible thing.  It's just a thing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux