Skip to contentSkip to conversation

Building Code Incrementally

DISCUSSION Asim 2 participants 3 messages Jul 2, 2008

lore
Share & tools
lore

Asim

author
#0 lore raw

Hi,

I'm making several changes in the underlying Linux source. To rebuild, I do a make distclean;make build;make install; This takes a lot of time as everything is built from scratch even for minor changes. Is there a way to build incrementally if one makes incremental changes in the linux source directory.

Regards,
Asim

#1 lore raw
Quoted 7 lines · Asim

Hi,

I'm making several changes in the underlying Linux source. To rebuild, I do a make distclean;make build;make install; This takes a lot of time as everything is built from scratch even for minor changes. Is there a way to build incrementally if one makes incremental changes in the linux source directory.

In theory, you should be able to skip the distclean step.

author
#2 lore raw

It worked in practice as well. Thanks!

Quoted 11 lines · Brendan Cully
Quoted 7 lines · Asim

Hi,

I'm making several changes in the underlying Linux source. To rebuild, I do a make distclean;make build;make install; This takes a lot of time as everything is built from scratch even for minor changes. Is there a way to build incrementally if one makes incremental changes in the linux source directory.

In theory, you should be able to skip the distclean step.