]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kbuild: enable 'make AFLAGS=...' to add additional options to AS
authorSam Ravnborg <sam@neptun.(none)>
Mon, 15 Oct 2007 19:59:31 +0000 (21:59 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Mon, 15 Oct 2007 19:59:31 +0000 (21:59 +0200)
commit222d394d30e74bb7a2a65029fcea68107b0d0eb6
tree1112c98d7edc51d1c6d5e9f3d826e29a42afd4da
parent714055ede4ffd60933397d4b61d285d0dfc9ecaf
kbuild: enable 'make AFLAGS=...' to add additional options to AS

The variable AFLAGS 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 AFLAGS with KBUILD_AFLAGS all over
the tree.

Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
28 files changed:
Documentation/kbuild/makefiles.txt
Makefile
arch/arm/Makefile
arch/arm/vfp/Makefile
arch/avr32/Makefile
arch/blackfin/Makefile
arch/cris/Makefile
arch/frv/Makefile
arch/h8300/Makefile
arch/i386/Makefile
arch/m32r/Makefile
arch/m68knommu/Makefile
arch/mips/Makefile
arch/powerpc/Makefile
arch/ppc/Makefile
arch/s390/Makefile
arch/sh/Makefile
arch/sparc/Makefile
arch/sparc64/Makefile
arch/um/Makefile
arch/um/Makefile-i386
arch/um/Makefile-x86_64
arch/um/sys-ppc/Makefile
arch/x86/boot/Makefile
arch/x86/boot/compressed/Makefile_64
arch/x86_64/Makefile
scripts/Kbuild.include
scripts/Makefile.lib