mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [OT] build just one driver
@ 2005-06-29  4:09 Gustavo Guillermo Pérez
  2005-06-29 19:27 ` Jesper Juhl
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Guillermo Pérez @ 2005-06-29  4:09 UTC (permalink / raw)
  To: linux-kernel

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.

:(

-- 
Gustavo Guillermo Pérez
Compunauta uLinux
www.compunauta.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OT] build just one driver
  2005-06-29  4:09 [OT] build just one driver Gustavo Guillermo Pérez
@ 2005-06-29 19:27 ` Jesper Juhl
  2005-06-30 19:51   ` Guennadi Liakhovetski
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Juhl @ 2005-06-29 19:27 UTC (permalink / raw)
  To: Gustavo Guillermo Pérez; +Cc: linux-kernel

On 6/29/05, Gustavo Guillermo Pérez <gustavo@compunauta.com> 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@gmail.com>
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OT] build just one driver
  2005-06-29 19:27 ` Jesper Juhl
@ 2005-06-30 19:51   ` Guennadi Liakhovetski
  2005-06-30 22:56     ` Jesper Juhl
  0 siblings, 1 reply; 5+ messages in thread
From: Guennadi Liakhovetski @ 2005-06-30 19:51 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: Gustavo Guillermo Pérez, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 527 bytes --]

On Wed, 29 Jun 2005, Jesper Juhl wrote:

> On 6/29/05, Gustavo Guillermo PИrez <gustavo@compunauta.com> wrote:
> > How can I build just one driver without building everthing or removing the
> > others from the config.
> 
> See "make help" : 
> 
> $ make help | grep "dir/"
>   dir/            - Build all files in dir and below
>   dir/file.[ois]  - Build specified target only

Unfortunately, one cannot do make dir/module.ko... Would it be too 
difficult to add?

Thanks
Guennadi
---
Guennadi Liakhovetski

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OT] build just one driver
  2005-06-30 19:51   ` Guennadi Liakhovetski
@ 2005-06-30 22:56     ` Jesper Juhl
  2005-07-01  0:25       ` Wakko Warner
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Juhl @ 2005-06-30 22:56 UTC (permalink / raw)
  To: Guennadi Liakhovetski
  Cc: Jesper Juhl, Gustavo Guillermo Pérez, linux-kernel

On Thu, 30 Jun 2005, Guennadi Liakhovetski wrote:

> On Wed, 29 Jun 2005, Jesper Juhl wrote:
> > On 6/29/05, Gustavo Guillermo P?rez <gustavo@compunauta.com> wrote:
> > > How can I build just one driver without building everthing or removing the
> > > others from the config.
> > 
> > See "make help" : 
> > 
> > $ make help | grep "dir/"
> >   dir/            - Build all files in dir and below
> >   dir/file.[ois]  - Build specified target only
> Unfortunately, one cannot do make dir/module.ko... Would it be too 
> difficult to add?

Hmm, I suspect people would find that useful. 
I'm not making any promises, but I might take a look at adding that later, 
on the other hand I don't have much time at the moment, so maybe I 
won't...


-- 
Jesper



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OT] build just one driver
  2005-06-30 22:56     ` Jesper Juhl
@ 2005-07-01  0:25       ` Wakko Warner
  0 siblings, 0 replies; 5+ messages in thread
From: Wakko Warner @ 2005-07-01  0:25 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: linux-kernel

Jesper Juhl wrote:
> > Unfortunately, one cannot do make dir/module.ko... Would it be too 
> > difficult to add?
> 
> Hmm, I suspect people would find that useful. 
> I'm not making any promises, but I might take a look at adding that later, 
> on the other hand I don't have much time at the moment, so maybe I 
> won't...

How about a target that does only stage 2 module building?

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-01  0:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-29  4:09 [OT] build just one driver Gustavo Guillermo Pérez
2005-06-29 19:27 ` Jesper Juhl
2005-06-30 19:51   ` Guennadi Liakhovetski
2005-06-30 22:56     ` Jesper Juhl
2005-07-01  0:25       ` Wakko Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®