################################################################
# #
# The README for GPL Code #
# #
################################################################
This file includes:
I. Descriptions for released code.
II. Installation instructions
III. Notes
I. Descriptions for released code
***********************************
Released code is mainly from www.codeaurora.org, the download url as follows:
https://www.codeaurora.org/cgit/quic/le/manifest/tag/?h=release&id=LE.BR.1.2.1-40400-9x07
"oe-core/build/downloads" is created while compiling, it includes open source packages downloaded from the url specified in their bb file, we have downloaded them for you.
II. Installation instructions
*******************************
1. Extract the GPL code, and best to build it on Ubuntu 12.04.
2. May need to install packages as follows:
sudo apt-get install build-essential chrpath coreutils cvs desktop-file-utils diffstat docbook-utils fakeroot g++ gawk gcc git git-core help2man libgmp3-dev libmpfr-dev libreadline6-dev libtool libxml2-dev libxml-parser-perl make python-pip python-pysqlite2 quilt sed subversion texi2html texinfo unzip wget libsdl1.2-dev xterm libncurses5-dev genisoimage
3. Script run by bash, so do it before building:
sudo ln -sf /bin/bash /bin/sh
4. Start to build image by command lines as follows:
cd oe-core
. build/conf/set_bb_env.sh
choosecombo
build
if it builds successfully, you can get the boot image and rootfs image in "oe-core/build/tmp-eglibc/deploy/images" directory.
if you want to build some package, you can run the following command:
bitbake/rp/rpp (package name)
if you want to rebuild some package, you can run the following command:
rp/rpp (package name)
if you want to clean all the building product, you can run the following command:
buildclean
III.Notes
**********
1. The path of gpl code must not contain spaces, or else it will report bblayer.conf couldn't be found while building.
2. "oe-core/build/downloads" includes the open source package which had been downloaded, if you remove the *.done file, it will download again. Most of open source package can be found from the websites as follows:
https://www.codeaurora.org/mirrored_source/quic/le/
https://www.codeaurora.org/mirrored_source/quic/qsdk/
3. Some private bb files are non-released.
4. Add new open source package:
1) Add tar file of open source package into "oe-core/build/downloads" directory, and create a empty file named like this "package name + .done".
2) Add bb files to build it, like some bb files in "meta-msm" directory.
5. The "conf/bblayer.conf" is generated by get_bblayers.py automatically when you run the command line:
. build/conf/set_bb_env.sh
5. Some packages maybe depend on other private packages which aren't released.
6. Better to connect Internet while building image.