Environment » Historial » Revisió 15
Revisió 14 (Pau Escrich, 22-02-2013 23:13) → Revisió 15/25 (Simó Albert i Beltran, 12-06-2013 17:07)
h1. Development Environment h3. Get the needed software First of all you should take a look on the system requirements: In a Debian based distributions (like Ubuntu), a set of packages are needed, you should install them: <pre> aptitude install \ git subversion zlib1g-dev gawk flex unzip bzip2 gettext build-essential \ libncurses5-dev libncursesw5-dev binutils cpp psmisc linux-headers-$(uname -r) docbook-to-man </pre> h3. Get the code and compile * [Recomended] Get the qMp firmware generator using git: <pre>git clone git://qmp.cat/qmpfw.git qmpfw</pre> * [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> * Then enter to source directory: <pre>cd qmpfw</pre> * [Advanced] [Recomended] Do a checkout specifying the branch: <pre>make .checkout_qmp QMP_GIT_BRANCH=branch_name</pre> Example for testing branch: branch testing: <pre>make .checkout_qmp QMP_GIT_BRANCH=testing</pre> * And compile it specifying the target: <pre>make build T=alix</pre> You can find available targets by executing: <pre>make list_targets</pre> If you have more than one core in your computer you can use J=N: <pre>make build T=alix J=4</pre> After that, you will find the images ready to install in your devices inside directory images/