> > What is the proper way to rebuild just one subdirectory? How
> > about for building externally provided modules?
> The proper way is "make vmlinux/modules". If you are sure that nothing
> changed outside of that directory, make SUBDIRS=... is fine, but since
> kbuild cannot know that nothing else changed (you just prohibited checking
> the other dirs), it'll give the warning.
In the case where you're building external modules, this is just fine --
generally you're doing this on purpose. How about disabling the warning
if every element of $(SUBDIRS) starts with a '/'?
> I hope that clarifies things a bit. As I wrote earlier, I'll come up with
> a proper and simple way to build external modules once I find the time.
If you deprecate 'make SUBDIRS=/my/module/source modules' then please
make sure whatever replacement you come up with also works with 2.0, 2.2
and 2.4 kernels, to avoid gratuitous pain for driver maintainers. :)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/