Sam Ravnborg 0c53c8e6eb kbuild: check for wrong use of CFLAGS
External modules have in a few cases modifed gcc option
by modifying CFLAGS. This has never been documented and
was a bad practice.
With the check to use KBUILD_CFLAGS it will no longer work
so we better error out and tell what was wrong as a service
to the external module users.

This check can be overruled if
KBUILD_NOPEDANTIC is set to something.
Addid this possibility may allow older external
module to build without any code modifications but potentially
only loosing some un-important gcc options.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-10-14 22:26:53 +02:00
..
2007-10-12 21:15:31 +02:00
2007-10-12 21:15:31 +02:00
2005-04-16 15:20:36 -07:00
2006-10-02 19:46:55 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:00 -07:00
2005-04-16 15:20:36 -07:00
2007-10-11 12:16:56 +02:00
2006-07-03 23:30:54 +02:00
2006-01-10 00:10:13 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00