RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
The essential packages you need for a supported Ubuntu or Debian distribution are shown in the following command$ sudo
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt-get install make gcc g++ diffstat texinfo chrpath gcc-multilib git gawk build-essential autoconf libtool libncurses-dev gettext gperf lib32z1 libc6-i386 g++-multilib python-git |
In order to use Yocto build system, the repo tool must be properly installed on the machine.
...
In order to install Repo make sure you have a /bin directory in your home directory and that it is included in your path$ mkdir
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir ~/bin |
...
PATH=~/bin:$PATH |
Download the repo tool and ensure that it is executable
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo |
...
chmod a+x ~/bin/repo |
Note: it is also recommended to put credentials in .netrc when interacting with repo.
...
Initilaizing the Build Environment
To build, follow below instructions
$ mkdir <workspace dir> ###GUIDELINE: Make sure "$ readlink -f <workspace dir>" is not exceeding 60 characters to avert potential build issue with python3-kconfig
$ cd <workspace dir>
...
Note: Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access.
...
Please login to code.rdkcentral.com before attempting to clone.
...
To build, follow below instructions
Create workspace directory
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir <workspace dir>
cd <workspace dir> |
Follow below instructions to create build with external sources
Code Block | ||||
---|---|---|---|---|
|
Building image with no external source
Code Block |
---|
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-pod-nosrc.xml -b rdk-next repo sync -j4 --no-clone-bundle MACHINE=turris-extender source meta-turris/setup-environment build-turris-ext bitbake rdk-generic-extender-image |
Building image with Else, follow below instructions to create build with no external source
Code Block | ||||
---|---|---|---|---|
| ||||
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-pod-extsrc.xml -b rdk-next repo sync -j4 --no-clone-bundle MACHINE=turris-extender source meta-turris/setup-environment build-turris-ext bitbake rdk-generic-extender-image |
...