Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Cross-compile ubuntu kernel on amd64 (18.04)
install all the cross-compilers that come up from "fakeroot debian/rules editconfigs"
get the architecture name that debian uses (i686 -> i386, aarch-64 -> arm64) - for reference / guesswork look into linux-hwe_5.3.0-42.34~18.04.1.dsc
use "fakeroot dpkg-buildpackage -ai386 -d [-nc] --no-sign"
There can be errors in the module list. Add missing modules in the <debian>/<arch>/.ignore list. For retry, use -nc to avoid a cleanup. There needs to be some manual intervention if a scratch directory is not empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment