Tricks for partial builds
Posted: Sun Aug 19, 2018 8:49 am
Question:
I've been doing some gargoyle development, and because I'm on the bleeding edge, I'm always breaking my local build, and I'd like to see if there are some tricks to speed up development time.
One trick that I found is simple to delete the files in targets that you don't need. Also I found out that gargoyle will build all of the targets for a particular architecture in ar71xxx-src and modifying the makefile in *-src/target/linux/*/image will prevent some unneeded images from getting built.
Here are some questions:
1) I noticed that whenever I run "make" after a partial build, that the build will always try to rebuild the gargoyle packages under package, even they they have already been built. I suspect there is some copy that overwrites timestamps
2) What's the easiest way of rebuilding a single package. The use case is that I'm upgrading a package, and would like to build a single package without doing a full rebuild.
3) any other handy tricks?
I've been doing some gargoyle development, and because I'm on the bleeding edge, I'm always breaking my local build, and I'd like to see if there are some tricks to speed up development time.
One trick that I found is simple to delete the files in targets that you don't need. Also I found out that gargoyle will build all of the targets for a particular architecture in ar71xxx-src and modifying the makefile in *-src/target/linux/*/image will prevent some unneeded images from getting built.
Here are some questions:
1) I noticed that whenever I run "make" after a partial build, that the build will always try to rebuild the gargoyle packages under package, even they they have already been built. I suspect there is some copy that overwrites timestamps
2) What's the easiest way of rebuilding a single package. The use case is that I'm upgrading a package, and would like to build a single package without doing a full rebuild.
3) any other handy tricks?