linux_dsm_epyc7002/arch/sh
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
..
boards sh: fix cf support on r2d boards 2007-08-03 10:16:29 +09:00
boot kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
cchips sh: hd64461 tidying. 2007-07-20 12:18:19 +09:00
configs sh: fix defconfigs for sh7751r boards 2007-08-03 10:17:47 +09:00
drivers sh: Fix Dreamcast DMA issues. 2007-07-24 13:30:55 +09:00
kernel [SOFTIRQ]: Remove do_softirq() symbol export. 2007-10-10 16:48:36 -07:00
lib sh: Revert __xdiv64_32 size change. 2007-07-13 12:27:13 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Fix pgd mismatch from cached TTB in unhandled fault. 2007-08-01 16:39:51 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig.debug sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
Makefile kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00