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> |
||
|---|---|---|
| .. | ||
| callback_srm.S | ||
| checksum.c | ||
| clear_page.S | ||
| clear_user.S | ||
| copy_page.S | ||
| copy_user.S | ||
| csum_ipv6_magic.S | ||
| csum_partial_copy.c | ||
| dbg_current.S | ||
| dbg_stackcheck.S | ||
| dbg_stackkill.S | ||
| dec_and_lock.c | ||
| divide.S | ||
| ev6-clear_page.S | ||
| ev6-clear_user.S | ||
| ev6-copy_page.S | ||
| ev6-copy_user.S | ||
| ev6-csum_ipv6_magic.S | ||
| ev6-divide.S | ||
| ev6-memchr.S | ||
| ev6-memcpy.S | ||
| ev6-memset.S | ||
| ev6-strncpy_from_user.S | ||
| ev6-stxcpy.S | ||
| ev6-stxncpy.S | ||
| ev67-strcat.S | ||
| ev67-strchr.S | ||
| ev67-strlen_user.S | ||
| ev67-strlen.S | ||
| ev67-strncat.S | ||
| ev67-strrchr.S | ||
| fls.c | ||
| fpreg.c | ||
| Makefile | ||
| memchr.S | ||
| memcpy.c | ||
| memmove.S | ||
| memset.S | ||
| srm_printk.c | ||
| srm_puts.c | ||
| stacktrace.c | ||
| strcat.S | ||
| strchr.S | ||
| strcpy.S | ||
| strlen_user.S | ||
| strlen.S | ||
| strncat.S | ||
| strncpy_from_user.S | ||
| strncpy.S | ||
| strrchr.S | ||
| stxcpy.S | ||
| stxncpy.S | ||
| udelay.c | ||