3.1 Building instructions of a BSP all manually
This section describes the manual building method. VLP supports two GUI frameworks: Qt and HTML5 (Gecko). But
these cannot be used at the same time. Please run the commands depending on the GUI framework which will be used.
Before starting the manual build, run the command below on the Linux Host PC to install packages used for building
BSP.
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm p7zip-full
Please refer to the URL below for detailed information:
• https://www.yoctoproject.org/docs/2.4.2/yocto-project-qs/yocto-project-qs.html
In addition, run the command below to install packages used for building Gecko.
$ sudo apt-get install autoconf2.13
$ sudo apt install clang llvm clang-3.9 llvm-3.9
Run the commands below and set the user name and email address before starting the build procedure. Without this
setting, an error occurs when building procedure runs git command to apply patches.
$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"
(1) Set the shell variable
Run the command below and enter an absolute path of the working directory.
$ export WORK=[user’s working directory]
(2) Create the working directory, and decompress Yocto recipe package
Run the commands below. Please replace “type” by “pro” or “eva”. Copy the compressed Yocto recipe package
files (rzg_bsp_pro_v219.tar.gz for product version, rzg_bsp_eva_v219.tar.gz for evaluation version) into the current
directory prior to this step.
$ mkdir -p $WORK
$ cd $WORK
$ tar xvzf ./rzg_bsp_type_v219.tar.gz
Additionally, in case to use HTML5, run the commands below to decompress Yocto recipe package for building
Gecko.
$ cd $WORK
$ tar xvzf ./rzg_bsp_gecko_v219.tar.gz
Note) In case to use HTML5 on iWave boards of RZ/G1E and RZ/G1C, please refer to 6. Notes (2) and apply a patch
to the meta-renesas directory.