acrn-kernel/arch/sparc64
Sam Ravnborg a0f97e06a4 kbuild: enable 'make CFLAGS=...' to add additional options to CC
The variable CFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.

This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
tree and enabling one to use:
make CFLAGS=...
to specify additional gcc commandline options.

One usecase is when trying to find gcc bugs but other
use cases has been requested too.

Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k

Test was simple to do a defconfig build, apply the patch and check
that nothing got rebuild.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-10-14 22:21:35 +02:00
..
boot
kernel [SPARC64]: Fix 'niu' complex IRQ probing. 2007-10-04 15:03:35 -07:00
lib [SPARC64]: Don't use in/local regs for ldx/stx data in N1 memcpy. 2007-10-02 16:17:17 -07:00
math-emu
mm hugepage: fix broken check for offset alignment in hugepage mappings 2007-08-31 01:42:23 -07:00
oprofile
prom [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
solaris [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
Kconfig NTP: move the cmos update code into ntp.c 2007-07-21 17:49:15 -07:00
Kconfig.debug Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
Makefile kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
defconfig [SPARC64]: Update defconfig. 2007-09-16 09:52:36 -07:00