Project

General

Profile

SDKBuild » History » Version 15

Beuc Beuc, 07/24/2015 10:42 PM
Don't scare people with complex method to compile "-j" argument

1 11 Paul Kocialkowski
h1. SDK build
2
3
h2. Prerequisites
4
5
The following are required to build Replicant for the SDK:
6 13 Paul Kocialkowski
* [[BuildDependenciesInstallation|Build dependencies installation]]
7
* [[ReplicantSourceCode|Replicant 4.2 source code]]
8 11 Paul Kocialkowski
9
h2. Build
10
11
*There is no need to build as root*, building as a regular user should be preferred.
12
13
In the source tree root folder, run:
14
<pre>
15
source build/envsetup.sh
16
lunch sdk-eng
17
</pre>
18
19
Then, start the build:
20
<pre>
21 14 Beuc Beuc
make -j$(nproc) bacon
22 11 Paul Kocialkowski
</pre>
23
The @-jn@ argument indicates the number of parallel tasks during the build (you can remove it from the command line to have only one task at a time).
24 15 Beuc Beuc
You may want to reduce this number if e.g. the computer runs out of RAM during the build.
25 11 Paul Kocialkowski
26
h2. Produced binaries
27
28 1 Denis 'GNUtoo' Carikli
The produced binaries are located at:
29 12 Paul Kocialkowski
* @out/host/linux-x86/sdk/@