Re: [OT] build just one driver

From: Jesper Juhl
Date: Wed Jun 29 2005 - 14:28:44 EST


On 6/29/05, Gustavo Guillermo Pérez <gustavo@xxxxxxxxxxxxxx> wrote:
> How can I build just one driver without building everthing or removing the
> others from the config.
>
> If I do make clean to save space, and if I need to build just 1 driver after.
>

See "make help" :

$ make help | grep "dir/"
dir/ - Build all files in dir and below
dir/file.[ois] - Build specified target only


So, as you can see, typing
make drivers/net/
for example, will build everything in the drivers/net/ dir (and
subdirs), and if you type
make drivers/scsi/aic7xxx/aic7xxx.o
It will build just that one object file...


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/