All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: subdir-ccflags problem
Date: Thu, 22 Apr 2010 12:21:29 +0200	[thread overview]
Message-ID: <4BD02329.50606@suse.cz> (raw)
In-Reply-To: <1271833758.3627.16.camel@jlt3.sipsolutions.net>

On 21.4.2010 09:09, Johannes Berg wrote:
> Hi,
> 
> When I specify subdir-ccflags in a Makefile, e.g. net/Makefile, but then
> build using M=net/wireless/, kbuild doesn't seem to pick it up.
> 
> To me, that seems like a bug, but to my untrained eye it would appear to
> be quite hard to fix. Thoughts?

For M=, this can't be fixed, because make M=$dir means "build external
module which resides in $dir" (so the parent directories have no
relevance). But even for 'make dir/subdir/' it would be hard to fix :-/.

Michal

  reply	other threads:[~2010-04-22 10:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21  7:09 subdir-ccflags problem Johannes Berg
2010-04-22 10:21 ` Michal Marek [this message]
2010-04-22 16:46   ` Sam Ravnborg

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=4BD02329.50606@suse.cz \
    --to=mmarek@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kbuild@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.