mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Michal Marek <mmarek@suse.cz>,
	linux-kbuild <linux-kbuild@vger.kernel.org>,
	lkml <linux-kernel@vger.kernel.org>,
	Denys Vlasenko <vda.linux@googlemail.com>
Cc: Mike Frysinger <vapier@gentoo.org>,
	David Howells <dhowells@redhat.com>,
	Tony Luck <tony.luck@intel.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	Chen Liqin <liqin.chen@sunplusct.com>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH 0/3] update of various kbuild flags to allow user settings
Date: Mon, 26 Jul 2010 22:38:14 +0200	[thread overview]
Message-ID: <20100726203814.GA18828@merkur.ravnborg.org> (raw)

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


             reply	other threads:[~2010-07-26 20:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 20:38 Sam Ravnborg [this message]
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-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
2010-07-27  9:00 ` [PATCH 2/3] frv: remove useless ARCHMODFLAGS assignment David Howells
2010-07-27  9:13   ` Sam Ravnborg
2010-07-27  9:15   ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100726203814.GA18828@merkur.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=benh@kernel.crashing.org \
    --cc=dhowells@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liqin.chen@sunplusct.com \
    --cc=mmarek@suse.cz \
    --cc=ralf@linux-mips.org \
    --cc=schwidefsky@de.ibm.com \
    --cc=tony.luck@intel.com \
    --cc=vapier@gentoo.org \
    --cc=vda.linux@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®