Projecte

General

Perfil

Environment » Historial » Versió 14

Pau Escrich, 22-02-2013 23:13

1 12 Victor Oncins
h1. Development Environment
2 1 Pau Escrich
3 14 Pau Escrich
h3. Get the needed software
4
5 2 Pau Escrich
In a Debian based distributions (like Ubuntu), a set of packages are needed, you should install them:
6 6 Pau Escrich
7
<pre>
8 13 Pau Escrich
aptitude install \
9 10 Simó Albert i Beltran
git subversion zlib1g-dev gawk flex unzip bzip2 gettext build-essential \
10 11 Simó Albert i Beltran
libncurses5-dev libncursesw5-dev binutils cpp psmisc linux-headers-$(uname -r) docbook-to-man
11 1 Pau Escrich
</pre>
12 14 Pau Escrich
13
h3. Get the code and compile
14
15
* Get the qMp firmware generator using git: <pre>git clone git://qmp.cat/qmpfw.git qmpfw</pre>
16
17
* Then enter to source directory: <pre>cd qmpfw</pre>
18
19
* [Recomended] Do a checkout specifying the branch testing: <pre>make .checkout_qmp QMP_GIT_BRANCH=testing</pre>
20
21
* And compile it specifying the target: <pre>make build T=alix</pre>
22
23
You can find available targets by executing: <pre>make list_targets</pre>
24
25
If you have more than one core in your computer you can use J=N: <pre>make build T=alix J=4</pre>
26
27
After that, you will find the images ready to install in your devices inside directory images/