Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions linux/kernel/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ also a Debian distribution, it means many aspects are similar, such as the comma

You can either do this using VirtualBox (or VMWare) on Windows, or install it directly onto your computer. For reference, you can follow instructions online [at Wikihow](http://www.wikihow.com/Install-Ubuntu-on-VirtualBox).

### Install required dependencies

To build the sources for cross-compilation, make sure you have the dependencies needed on your machine by executing:
```bash
sudo apt install git bc bison flex libssl-dev make libc6-dev libncurses5-dev
```
If you find you need other things, please submit a pull request to change the documentation.

### Install toolchain

Use the following command to download the toolchain to the home folder:
Expand Down Expand Up @@ -129,12 +137,6 @@ See [**Choosing sources**](#choosing_sources) above for instructions on how to c

### Build sources

To build the sources for cross-compilation, make sure you have the dependencies needed on your machine by executing:
```bash
sudo apt install git bc bison flex libssl-dev make libc6-dev libncurses5-dev
```
If you find you need other things, please submit a pull request to change the documentation.

Enter the following commands to build the sources and Device Tree files:

For Pi 1, Pi Zero, Pi Zero W, or Compute Module:
Expand Down