On Sun, Oct 12, 2014 at 12:50:01PM +0400, Matwey V. Kornilov wrote:
Until then, I just utilized OBS and osc build --local
to build the
kernel for arm architecture with needed patches/configs. But now I
wonder whether there is more effective way to avoid rebuilds?
Usually, changes affect only couple of modules, but building with OBS
requires to wait until whole kernel is rebuilt.
There are ways to speed up the process.
Use --ccache for build, this will keep all the built objects and just
copy them instead of compiling, if you use --jobs 32 or something high
like that, the parallelism should help as well.
If you can identify which patches probably touched the driver or
functionatlity it uses, look at the patches between .3 and .4 in
and run only a few iterations instead of full bisection of the whole
You can also reuse the OBS chroot environment and revert/apply the
patches directly to the sources and then run the kernel build manually
(the exact command is in the log), then copy the resulting .ko into your
system and try it.
Depends if the ccache approach is faster than the manual one.
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org