public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] update of various kbuild flags to allow user settings
@ 2010-07-26 20:38 Sam Ravnborg
  2010-07-26 20:42 ` [PATCH 1/3] kbuild: allow user to assign {A,C}FLAGS_MODULE Sam Ravnborg
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Sam Ravnborg @ 2010-07-26 20:38 UTC (permalink / raw)
  To: Michal Marek, linux-kbuild, lkml, Denys Vlasenko
  Cc: Mike Frysinger, David Howells, Tony Luck, Geert Uytterhoeven,
	Ralf Baechle, Benjamin Herrenschmidt, Martin Schwidefsky,
	Chen Liqin, Sam Ravnborg

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(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-27  9:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 20:38 [PATCH 0/3] update of various kbuild flags to allow user settings Sam Ravnborg
2010-07-26 20:42 ` [PATCH 1/3] kbuild: allow user to assign {A,C}FLAGS_MODULE Sam Ravnborg
2010-07-26 20:43 ` [PATCH 2/3] frv: remove useless ARCHMODFLAGS assignment Sam Ravnborg
2010-07-27  9:00   ` David Howells
2010-07-27  9:13     ` Sam Ravnborg
2010-07-27  9:15       ` David Howells
2010-07-26 20:44 ` [PATCH 3/3] kbuild: allow user to assign LDFLAGS_MODULE Sam Ravnborg
2010-07-26 20:54   ` Mike Frysinger
2010-07-26 21:48     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox