open_source:ccgx:bitbake
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
open_source:ccgx:bitbake [2015-09-20 15:42] – mvader | open_source:ccgx:bitbake [2019-06-22 15:50] (current) – removed mvader | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bitbake: making and managing recipes for CCGX ====== | ||
- | To build all the CCGX rootfs or images with all the existing recipes, see instructions here: https:// | ||
- | |||
- | Below guide is an introduction on how to add recipes and create/ | ||
- | |||
- | Start bitbake: | ||
- | make bb | ||
- | |||
- | Build a single recipe: | ||
- | bitbake -b dbus-modbustcp_0.7.2.bb | ||
- | |||
- | That probably didn't work, because dependencies are missing. To build the recipe including dependencies, | ||
- | bitbake dbus-modbustcp | ||
- | |||
- | when changing the source code that is fetched by the recipe, make sure to do a cleanall before running the recipe again (note I changed from the dbus-modbustcp example to vrmportal: | ||
- | bitbake -c cleanall vrmportal | ||
- | |||
- | To see what happened, and where all the source files are, see here (replace vrmportal with the recipe you are working on): | ||
- | / | ||
- | | ||
- | After successfully building a package, it is somewhere in the deploy folder. In above case it is here: | ||
- | < | ||
- | matthijs@matthijs-VirtualBox:/ | ||
- | -rw-r--r-- 1 matthijs matthijs 18381088 sep 20 13:19 vrmportal_0.01-r0_armv7a-vfp-neon.ipk | ||
- | -rw-r--r-- 1 matthijs matthijs | ||
- | -rw-r--r-- 1 matthijs matthijs | ||
- | </ | ||
- | |||
- | As you can see there is a dbg and dev as well, see internet for more explanation on those. Now, to test the package on a ccgx, copy the package to it: | ||
- | scp vrmportal_0.01-r0_armv7a-vfp-neon.ipk root@192.168.51.67: | ||
- | |||
- | and then login with ssh and install it: | ||
- | root@ccgx: |
open_source/ccgx/bitbake.1442756533.txt.gz · Last modified: 2015-09-20 15:42 by mvader