Last active
March 5, 2020 20:07
-
-
Save jglathe/5df678b164ef4e1ba177a56d8a37715a to your computer and use it in GitHub Desktop.
Cross-compile ubuntu kernel on amd64 (18.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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