diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2010-07-28 19:11:27 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-03 14:09:45 +0200 |
commit | 80c00ba942ee39c9a95c06959223560400bbb86e (patch) | |
tree | c0ff9363d1e3ab372ae8ed1137b1d012c88e683a /arch/m32r | |
parent | 6588169d516560f68672e2928680b71c647b7806 (diff) | |
download | linux-80c00ba942ee39c9a95c06959223560400bbb86e.tar.bz2 |
kbuild: allow assignment to {A,C}FLAGS_KERNEL on the command line
It is now possible to assign options to AS and CC
on the command line - which is only used for built-in code.
{A,C}FLAGS_KERNEL was used both in the top-level Makefile
in the arch makefiles, thus users had no way to specify
additional options to AS, CC without overriding
the original value.
Introduce a new set of variables KBUILD_{A,C}FLAGS_KERNEL
that is used by arch specific files and free up
{A,C}FLAGS_KERNEL so they can be assigned on
the command line.
All arch Makefiles that used the old variables has been updated.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m32r/Makefile b/arch/m32r/Makefile index 14a3c2314fef..8ff5ba0ea26c 100644 --- a/arch/m32r/Makefile +++ b/arch/m32r/Makefile @@ -12,7 +12,7 @@ OBJCOPYFLAGS := -O binary -R .note -R .comment -S LDFLAGS_vmlinux := KBUILD_CFLAGS += -pipe -fno-schedule-insns -CFLAGS_KERNEL += -mmodel=medium +KBUILD_CFLAGS_KERNEL += -mmodel=medium KBUILD_CFLAGS_MODULE += -mmodel=large ifdef CONFIG_CHIP_VDEC2 |