Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit fd5d2c6

Browse files
JJTech0130JamesH65
andauthored
Implied installation of git (raspberrypi#1534)
* Implied installation of git git clone was used earlier in the tutorial, so it’s installation is implied (should the install line be moved earlier in the tutorial?) * Update building.md Co-authored-by: James Hughes <JamesH65@users.noreply.github.com>
1 parent c0ce2de commit fd5d2c6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

linux/kernel/building.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ also a Debian distribution, it means many aspects are similar, such as the comma
9999

100100
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).
101101

102+
### Install required dependencies
103+
104+
To build the sources for cross-compilation, make sure you have the dependencies needed on your machine by executing:
105+
```bash
106+
sudo apt install git bc bison flex libssl-dev make libc6-dev libncurses5-dev
107+
```
108+
If you find you need other things, please submit a pull request to change the documentation.
109+
102110
### Install toolchain
103111

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

130138
### Build sources
131139

132-
To build the sources for cross-compilation, make sure you have the dependencies needed on your machine by executing:
133-
```bash
134-
sudo apt install git bc bison flex libssl-dev make libc6-dev libncurses5-dev
135-
```
136-
If you find you need other things, please submit a pull request to change the documentation.
137-
138140
Enter the following commands to build the sources and Device Tree files:
139141

140142
For Pi 1, Pi Zero, Pi Zero W, or Compute Module:

0 commit comments

Comments
 (0)