Do you got any idea how to build an oe project with distributed bitbake compile? I've thinked about distcc.
export PATH=~/distcc/bin:$PATH
make -jn CC=linux-gcc
make will call linux-gcc from my path which points to distcc.
distcc will schedule the tasks to all known hosts.
-jn will create n6 instances of make.
It works fine.
But now I want to use distcc with bitbake.
I know how to use -jn with bitbake.
Just use export PARALLEL_MAKE=-jn
But how to use export PATH=~/distcc/bin:$PATH
with bitbake.
The distcc/bin
MUST stand in front of the $PATH
.
But bitbake will place the $PATH_prepend
(placed in org.openembedded.dev/conf/bitbake.conf) in front of the $PATH
.
Or someone got another tool for better way of distributed building with bitbake?