RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
This section describes how to make changes and build any particular component in RDK stack.
To list the Yocto components, use:
|
1) Add the below line to the recipe of the component you need to modify.
SRC_URI += "file://<name>.patch"
eg: SRC_URI += "file://temp.patch"
2) Create a folder named "files" in the same folder of recipe.
3) Create a blank file with the same name given in the recipe.
touch files/<name>.patch
eg: touch files/temp.patch
4) bitbake <recipe> -c devshell
eg: bitbake tdk -c devshell
5) Do "quilt top" and verify if the patch file is reflected there.
eg:
# quilt top
patches/temp.patch
6) quilt add "filename which you need to modify" (If multiple files are there, then add all those)
eg: quilt add Makefile.am configure.ac
7) Make necessary modifications required for these files.
8) quilt refresh
9) Verify if your modifications are reflected in the patch file.
vi patches/<name>.patch
10) Now replace this patch file with original one in files folder.
eg: cp patches/temp.patch ~/.../meta-rdk/recipes-extended/tdk/files/test.patch
11) exit
12) Do a clean and then build.
bitbake -ccleanall tdk
bitbake tdk