Re: Faster way to run through building single modules

From: Sam Ravnborg
Date: Sun Feb 10 2008 - 14:55:47 EST


On Sun, Feb 10, 2008 at 08:38:19PM +0100, Jan Engelhardt wrote:
>
> On Feb 10 2008 20:28, Sam Ravnborg wrote:
> >On Sun, Feb 10, 2008 at 07:51:29PM +0100, Jan Engelhardt wrote:
> >>
> >> I was wondering whether there is a shortcut in kbuild I can take if I
> >> just want to rebuild one module. Currently, I have:
> >>
> >> make net/bridge/netfilter/ebtables.ko
> >
> >Fool kbuild to think this is an external module using:
> >make M=`pwd` net/bridge/netfilter/ebtables.ko
> >
> >That should do the trick.
>
> How would I combine that with O=? Not quite doing the right thing yet.

O=tells where to find the kernel output files.
We do not have a possibility to do so for external
modules - so they will alwys build in same dir as the source.

Bad luck :-(

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/