linux/arch/blackfin
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
..
boot Blackfin: add an uncompressed vmImage target 2009-12-15 00:15:08 -05:00
configs Blackfin: add support for the Acvilon BF561 board 2009-12-15 00:15:10 -05:00
include/asm FDPIC: Respect PT_GNU_STACK exec protection markings when creating NOMMU stack 2010-01-06 18:16:02 -08:00
kernel blackfin,kgdb: Do not put PC in gdb_regs into retx. 2010-01-07 11:58:37 -06:00
lib Blackfin: convert to generic checksum code 2009-12-15 00:13:32 -05:00
mach-bf518 Blackfin: BF51x: unify def/cdef headers 2009-12-15 00:16:16 -05:00
mach-bf527 Blackfin: BF52x: unify def/cdef headers 2009-12-15 00:16:13 -05:00
mach-bf533 Blackfin: ip0x: pull in asm/portmux.h for P_xxx defines 2009-12-15 00:16:44 -05:00
mach-bf537 Blackfin: drop unused ax88180 resources 2009-12-15 00:16:43 -05:00
mach-bf538 Blackfin: bf537-stamp: add CAN resources 2009-12-15 00:16:38 -05:00
mach-bf548 Blackfin: bf537-stamp: add CAN resources 2009-12-15 00:16:38 -05:00
mach-bf561 Blackfin: drop unused ax88180 resources 2009-12-15 00:16:43 -05:00
mach-common Blackfin: add support for TIF_NOTIFY_RESUME 2009-12-15 00:16:52 -05:00
mm blackfin,kgdb,probe_kernel: Cleanup probe_kernel_read/write 2010-01-07 11:58:36 -06:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2009-12-16 10:52:35 -08:00
Kconfig.debug Blackfin: add some isram-driver self tests 2009-09-16 22:10:36 -04:00
Makefile kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line 2010-08-03 14:09:45 +02:00