Skip to content

Instantly share code, notes, and snippets.

@brandonros
Created June 1, 2020 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonros/9358b5a8c0ac1c72dde80e451611ddb2 to your computer and use it in GitHub Desktop.
Save brandonros/9358b5a8c0ac1c72dde80e451611ddb2 to your computer and use it in GitHub Desktop.
Compile Linux kernel with dockcross
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.15.tar.xz
tar -xf linux-5.6.15.tar.xz
cd linux-5.6.15
docker run --rm dockcross/linux-x64 > ./dockcross
chmod +x dockcross
./dockcross make defconfig
./dockcross make -j 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment