Project

General

Profile

Environment » History » Version 14

Pau Escrich, 02/22/2013 11:13 PM

1 12 Victor Oncins
h1. Development Environment
2 1 Pau Escrich
3 14 Pau Escrich
h3. Get the needed software
4 14 Pau Escrich
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 6 Pau Escrich
<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 14 Pau Escrich
h3. Get the code and compile
14 14 Pau Escrich
15 14 Pau Escrich
* Get the qMp firmware generator using git: <pre>git clone git://qmp.cat/qmpfw.git qmpfw</pre>
16 14 Pau Escrich
17 14 Pau Escrich
* Then enter to source directory: <pre>cd qmpfw</pre>
18 14 Pau Escrich
19 14 Pau Escrich
* [Recomended] Do a checkout specifying the branch testing: <pre>make .checkout_qmp QMP_GIT_BRANCH=testing</pre>
20 14 Pau Escrich
21 14 Pau Escrich
* And compile it specifying the target: <pre>make build T=alix</pre>
22 14 Pau Escrich
23 14 Pau Escrich
You can find available targets by executing: <pre>make list_targets</pre>
24 14 Pau Escrich
25 14 Pau Escrich
If you have more than one core in your computer you can use J=N: <pre>make build T=alix J=4</pre>
26 14 Pau Escrich
27 14 Pau Escrich
After that, you will find the images ready to install in your devices inside directory images/