On Thu, Apr 22, 2010 at 12:21:29PM +0200, Michal Marek wrote: > 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 :-/. Agree with Michal on this one. This is not easy to fix at all. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html