[PATCH 0/3] update of various kbuild flags to allow user settings

From: Sam Ravnborg
Date: Mon Jul 26 2010 - 16:38:27 EST


Denys Vlasenko complained that he could not set
a moduel specific linker flags on the command line.

It turned out that the cause of this was kbuild
that assigned a value to a variables that
may be modified by the user.
So any user supplied value would overwrite
the kbuild assigned value.

Fix this so we use internal variables for kbuild
feering up the official variables for use by
the user.

To do so some trivial modifications was done
in various arch Makefile.

Respective arch maintainers are copied
on the patches.

[Patches are on top of for-next of kbuild.git]

Sam

Sam Ravnborg (3):
kbuild: allow user to assign {A,C}FLAGS_MODULE
frv: remove useless ARCHMODFLAGS assignment
kbuild: allow user to assign LDFLAGS_MODULE

Makefile | 12 +++++++-----
arch/blackfin/Makefile | 2 +-
arch/frv/Makefile | 2 --
arch/ia64/Makefile | 2 +-
arch/m68k/Makefile | 2 +-
arch/mips/Makefile | 4 ++--
arch/powerpc/Makefile | 2 +-
arch/s390/Makefile | 2 +-
arch/score/Makefile | 2 +-
scripts/Makefile.build | 9 ++++++---
scripts/Makefile.modpost | 5 +++--
11 files changed, 24 insertions(+), 20 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/