kernel-ark/arch/s390
Sam Ravnborg 6588169d51 kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line
It is now possible to assign options to AS, CC and LD
on the command line - which is only used when building modules.

{A,C,LD}FLAGS_MODULE was all used both in the top-level Makefile
in the arch makefiles, thus users had no way to specify
additional options to AS, CC, LD when building modules
without overriding the original value.

Introduce a new set of variables KBUILD_{A,C,LD}FLAGS_MODULE
that is used by arch specific files and free up
{A,C,LD}FLAGS_MODULE so they can be assigned on
the command line.

All arch Makefiles that used the old variables has been updated.

Note: Previously we had a MODFLAGS variable for both
AS and CC. But in favour of consistency this was dropped.
So in some cases arch Makefile has one assignmnet replaced by
two assignmnets.

Note2: MODFLAGS was not documented and is dropped
without any notice. I do not expect much/any breakage
from this.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Acked-by: Mike Frysinger <vapier@gentoo.org> [blackfin]
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> [avr32]
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-08-03 14:09:45 +02:00
..
appldata const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
boot
crypto [S390] s390: PTR_ERR return of wrong pointer in fallback_init_cip() 2009-12-18 17:43:31 +01:00
hypfs [S390] Use strim instead of strstrip to avoid false warnings. 2009-12-18 17:43:33 +01:00
include/asm Rename .data.read_mostly to .data..read_mostly. 2010-03-03 11:26:00 +01:00
kernel Rename .data.nosave to .data..nosave. 2010-03-03 11:26:01 +01:00
kvm KVM: S390: fix potential array overrun in intercept handling 2010-01-25 12:26:39 -02:00
lib [S390] Move __cpu_logical_map to smp.c 2010-01-13 20:44:45 +01:00
math-emu
mm [S390] use helpers for rlimits 2010-01-13 20:44:45 +01:00
oprofile
defconfig [S390] Update default configuration. 2010-01-04 09:05:58 +01:00
Kconfig [S390] Improve address space mode selection. 2009-12-07 12:51:33 +01:00
Kconfig.debug
Makefile kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line 2010-08-03 14:09:45 +02:00