Skip to content

Compilation instructions

Roderik Ploszek edited this page Sep 3, 2021 · 10 revisions

Prerequisites

Debian 11

Following packages are required to compile kernel with Medusa:

  • fakeroot
  • build-essential
  • git
  • bison
  • flex
  • libncurses-dev (for make menuconfig)
  • libelf-dev
  • bc
  • libssl-dev
  • rsync
  • dwarves

For Debian 11 (bullseye) you can copy-paste the following command:

sudo apt install fakeroot build-essential git bison flex libncurses-dev libelf-dev bc libssl-dev rsync dwarves

Compilation

Run the build.sh script.

Manual compilation

Use following commands:

make -j <N_CORES>
sudo make modules_install 
sudo make install
Clone this wiki locally