Sam Ravnborg 720097d895 kbuild: introduce subdir-ccflags-y
Following patch introduce support for setting options
to gcc that has effect for current directory and all
subdirectories.

The typical use case are an architecture or a subsystem that
decide to cover all files with -Werror.
Today alpha, mips and sparc uses -Werror in almost all their
Makefile- with subdir-ccflag-y it is now simpler to do so
as only the top-level directories needs to be covered.

Likewise if we decide to cover a full subsystem such
as net/ with -Werror this is done by adding a single
line to net/Makefile.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
2009-04-19 11:12:12 +02:00
..
2005-04-16 15:20:36 -07:00
2009-04-02 01:22:24 +00:00
2005-04-16 15:20:36 -07:00
2007-12-17 19:28:17 -08:00
2005-04-16 15:20:36 -07:00
2009-02-27 16:26:22 -08:00
2008-10-22 21:53:49 -07:00
2006-07-03 23:30:54 +02:00
2008-07-25 22:12:41 +02:00
2009-04-06 14:27:17 -07:00
2008-04-25 20:18:48 +02:00
2008-04-25 20:18:48 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00