Environment » Historial » Versió 15
Simó Albert i Beltran, 12-06-2013 17:07
Syncronize with Start page.
1 | 12 | Victor Oncins | h1. Development Environment |
---|---|---|---|
2 | 1 | Pau Escrich | |
3 | 14 | Pau Escrich | h3. Get the needed software |
4 | |||
5 | 15 | Simó Albert i Beltran | First of all you should take a look on the system requirements: |
6 | |||
7 | 2 | Pau Escrich | In a Debian based distributions (like Ubuntu), a set of packages are needed, you should install them: |
8 | 6 | Pau Escrich | |
9 | <pre> |
||
10 | 13 | Pau Escrich | aptitude install \ |
11 | 10 | Simó Albert i Beltran | git subversion zlib1g-dev gawk flex unzip bzip2 gettext build-essential \ |
12 | 11 | Simó Albert i Beltran | libncurses5-dev libncursesw5-dev binutils cpp psmisc linux-headers-$(uname -r) docbook-to-man |
13 | 1 | Pau Escrich | </pre> |
14 | 14 | Pau Escrich | |
15 | h3. Get the code and compile |
||
16 | 1 | Pau Escrich | |
17 | 15 | Simó Albert i Beltran | * [Recomended] Get the qMp firmware generator using git: <pre>git clone git://qmp.cat/qmpfw.git qmpfw</pre> |
18 | 1 | Pau Escrich | |
19 | 15 | Simó Albert i Beltran | * [Outdated] Or get the code using http: <pre>wget -c -q -O - "http://qmp.cat/gitrevision_download?project_id=7&rev=anonymous" | tar zxvf -</pre> |
20 | |||
21 | 1 | Pau Escrich | * Then enter to source directory: <pre>cd qmpfw</pre> |
22 | |||
23 | 15 | Simó Albert i Beltran | * [Advanced] Do a checkout specifying the branch: <pre>make .checkout_qmp QMP_GIT_BRANCH=branch_name</pre> |
24 | |||
25 | Example for testing branch: <pre>make .checkout_qmp QMP_GIT_BRANCH=testing</pre> |
||
26 | 14 | Pau Escrich | |
27 | * And compile it specifying the target: <pre>make build T=alix</pre> |
||
28 | |||
29 | You can find available targets by executing: <pre>make list_targets</pre> |
||
30 | |||
31 | If you have more than one core in your computer you can use J=N: <pre>make build T=alix J=4</pre> |
||
32 | |||
33 | After that, you will find the images ready to install in your devices inside directory images/ |