android_kernel_xiaomi_sm7250/arch/blackfin
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 Blackfin arch: extract the entry point from the linked kernel 2007-07-12 14:26:26 +08:00
configs Blackfin arch: Board defconfig updating 2007-10-11 00:03:39 +08:00
kernel Blackfin arch: fix bug libstdc++ calling writev with an iovec containing { NULL, 0 } fails on Blackfin 2007-10-10 17:54:19 +08:00
lib Blackfin arch: revise anomaly handling by basing things on the compiler not the kconfig defines 2007-07-25 11:19:14 +08:00
mach-bf533 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-bf537 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-bf548 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-bf561 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-common Blackfin arch: the load address is not safe to point to as a workaround for ANOMALY 05000281 2007-10-10 17:28:27 +08:00
mm Blackfin arch: show_mem can not be marked as init, since it is called during OOM condition 2007-10-10 17:25:15 +08:00
oprofile Blackfin arch: use the [CS]SYNC() macros which include anomaly workarounds rather than __builtin_bfin_[cs]sync() 2007-07-25 11:57:42 +08:00
Kconfig kconfig: syntax cleanup - drop support for "depends/requires/def_boolean" 2007-10-12 21:20:32 +02:00
Makefile kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00