doc: update instructions for building ACRN on Ubuntu 16.04

Update the instructions on how to build ACRN on Ubuntu 16.04,
specifically:
* Add 'pkg-config' package
* Upgrade 'binutils' to 2.27

Note: there is still an issue with regards to the GPIO header
(linux/gpio.h) which needs to be resolved.

Tracked-On: #2737
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
Geoffroy Van Cutsem 2019-04-24 15:29:33 +02:00 committed by David Kinder
parent af0b16e1a8
commit d5cee835d2

View File

@ -41,7 +41,8 @@ each with their own way to install development tools:
python3 \
python3-pip \
libblkid-dev \
e2fslibs-dev
e2fslibs-dev \
pkg-config
$ sudo pip3 install kconfiglib
.. note::
@ -57,6 +58,21 @@ each with their own way to install development tools:
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
--slave /usr/bin/g++ g++ /usr/bin/g++-7
.. note::
ACRN development requires ``binutils`` version 2.27 (or higher). You can
verify your version of ``binutils`` with the command ``apt show binutils``.
While Ubuntu 18.04 has a new version of ``binutils`` the default version on
Ubuntu 16.04 needs updating (see issue `#1133
<https://github.com/projectacrn/acrn-hypervisor/issues/1133>`_).
.. code-block:: none
$ wget https://mirrors.ocf.berkeley.edu/gnu/binutils/binutils-2.27.tar.gz
$ tar xzvf binutils-2.27 && cd binutils-2.27
$ ./configure
$ make
$ sudo make install
.. note::
Ubuntu 14.04 requires ``libsystemd-journal-dev`` instead of ``libsystemd-dev``
as indicated above.