KernelTrap: Efficient Cross Compiling

“In a posting to the lkml, Al Viro offered a guide on how to
cross-compile multiple platforms in parallel. He begins, ‘contrary
to popular beliefs, crosscompiling and full builds for a bunch of
platforms are not hard and not particulary time-consuming. Below
are my notes on the setup and practices; I hope it will be useful
and I _really_ hope that people will start doing similar things.’
He goes on to note that he currently does regular cross compiles
for six different platforms. Cross compiling in this context is
building source code on one architecture to be run on another
architecture. In this case, it can be useful to verify that changes
focused on one architecture don’t accidently break the build on
another architecture…”