You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `git clone` command above will download the current active branch (the one we are building Raspbian images from) without any history. Omitting the `--depth=1` will download the entire repository, including the full history of all branches, but this takes much longer and occupies much more storage.
26
+
27
+
To download a different branch (again with no history), use the `--branch` option:
Refer to the [original GitHub repository](https://github.com/raspberrypi/linux) for information about the available branches.
34
+
35
+
### Kernel configuration
36
+
21
37
Configure the kernel; as well as the default configuration, you may wish to [configure your kernel in more detail](configuring.md) or [apply patches from another source](patching.md), to add or remove required functionality:
22
38
23
39
Run the following commands, depending on your Raspberry Pi version.
24
40
25
-
### Raspberry Pi 1, Pi 0, Pi 0W, and Compute Module default build configuration
41
+
### Raspberry Pi 1, Pi Zero, Pi Zero W, and Compute Module default build configuration
26
42
27
43
```bash
28
44
cd linux
@@ -76,22 +92,23 @@ If you are on a 64-bit host system, you should use:
See [**Choosing sources**](#choosing_sources) above for instructions on how to choose a different branch.
87
104
88
105
### Build sources
89
106
90
107
To build the sources for cross-compilation, there may be extra dependencies beyond those you've installed by default with Ubuntu. If you find you need other things, please submit a pull request to change the documentation.
91
108
92
109
Enter the following commands to build the sources and Device Tree files:
0 commit comments