acrn-kernel/arch/arm
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 kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
common
configs [ARM] rpc: update defconfig 2007-08-06 16:48:49 +01:00
kernel [ARM] Resolve PCI section warnings 2007-09-30 17:36:22 +01:00
lib
mach-aaec2000
mach-at91 [ARM] 4542/1: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c 2007-08-04 22:13:48 +01:00
mach-clps711x
mach-clps7500
mach-davinci clockevents: fix resume logic 2007-07-21 17:49:15 -07:00
mach-ebsa110
mach-ep93xx [ARM] 4569/1: ep93xx_gpio_irq_type(): fix spurious enumeration offset for FGPIO handling 2007-09-20 09:21:10 +01:00
mach-footbridge
mach-h720x
mach-imx arm: i.MX/MX1 SDHC implements SD cards read-only switch read-back 2007-09-24 19:33:14 +02:00
mach-integrator
mach-iop13xx
mach-iop32x [ARM] 4491/1: em7210 rtc clock 2007-07-20 17:29:35 +01:00
mach-iop33x
mach-ixp4xx Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-07-22 11:22:59 -07:00
mach-ixp23xx
mach-ixp2000
mach-ks8695 [ARM] 4549/1: KS8695: Fix build errors 2007-08-14 17:23:55 +01:00
mach-l7200
mach-lh7a40x
mach-mx3 [ARM] 4461/1: MXC platform and i.MX31ADS core support 2007-07-22 15:44:46 +01:00
mach-netx
mach-ns9xxx [ARM] 4493/1: ns9xxx: disable a non-reloading timer before ack'ing its irq 2007-07-20 10:01:37 +01:00
mach-omap1 ARM: OMAP: H3 workqueue fixes 2007-08-22 00:42:51 -07:00
mach-omap2 ARM: OMAP: Enable serial idling and wakeup features 2007-08-22 00:42:52 -07:00
mach-pnx4008
mach-pxa backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
mach-realview [ARM] realview: disable second GIC on RevB MPCore platforms 2007-09-13 15:10:25 +01:00
mach-rpc [ARM] rpc: convert an outb() to writeb() 2007-07-20 21:29:39 +01:00
mach-s3c2400
mach-s3c2410 [ARM] 4524/1: S3C: Move register out of include/asm-arm/arch-s3c2410 2007-07-22 17:06:30 +01:00
mach-s3c2412 [ARM] 4524/1: S3C: Move register out of include/asm-arm/arch-s3c2410 2007-07-22 17:06:30 +01:00
mach-s3c2440 [ARM] 4598/2: OSIRIS: Ensure we do not get nRSTOUT during suspend 2007-10-05 21:21:43 +01:00
mach-s3c2442 [ARM] 4546/1: s3c2410: fix architecture typo for s3c2442 2007-08-14 17:23:49 +01:00
mach-s3c2443 [ARM] 4524/1: S3C: Move register out of include/asm-arm/arch-s3c2410 2007-07-22 17:06:30 +01:00
mach-sa1100 [ARM] 4529/1: [HP Jornada 7XX] - Fix jornada720.c to use SSP driver 2007-07-28 20:52:45 +01:00
mach-shark
mach-versatile
mm [ARM] 4568/1: fix l2x0 cache invalidate handling of unaligned addresses 2007-09-17 14:56:39 +01:00
nwfpe Remove the arm26 port 2007-07-31 15:39:39 -07:00
oprofile
plat-iop [ARM] 4495/1: iop: combined watchdog timer driver for iop3xx and iop13xx 2007-07-20 09:35:42 +01:00
plat-mxc [ARM] 4461/1: MXC platform and i.MX31ADS core support 2007-07-22 15:44:46 +01:00
plat-omap ARM: OMAP: fix OMAP1 dmtimer build warning 2007-08-22 00:42:50 -07:00
plat-s3c [ARM] 4518/1: S3C: Rename watchdog configuration options 2007-07-22 16:44:38 +01:00
plat-s3c24xx [ARM] 4524/1: S3C: Move register out of include/asm-arm/arch-s3c2410 2007-07-22 17:06:30 +01:00
tools
vfp [ARM] 4567/1: Fix 'Oops - undefined instruction' when CONFIG_VFP=y on non VFP device 2007-09-13 15:10:27 +01:00
Kconfig ARM: OMAP: OSK led fixes 2007-08-22 00:42:51 -07:00
Kconfig-nommu
Kconfig.debug [ARM] 4514/1: S3C: Rename DEBUG_S3C2410_PORT and DEBUG_S3C_UART 2007-07-22 16:44:33 +01:00
Makefile kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00