]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: allow assignment to {A,C}FLAGS_KERNEL on the command line
authorSam Ravnborg <sam@ravnborg.org>
Wed, 28 Jul 2010 17:11:27 +0000 (19:11 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 3 Aug 2010 12:09:45 +0000 (14:09 +0200)
commit4b64ee33efd287c090d8bbf33fdfd7d10ad6ac77
treec0ff9363d1e3ab372ae8ed1137b1d012c88e683a
parente375bd38158e18683cd6cda6a1fe6816d8610401
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>
Documentation/kbuild/kbuild.txt
Documentation/kbuild/makefiles.txt
Makefile
arch/ia64/Makefile
arch/m32r/Makefile
scripts/Makefile.build