devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
bitbake -e | grep -w DISTRO_FEATURES
bitbake -e busybox | grep ^S=
bitbake -e <target> | grep ^WORKDIR
bitbake -c devshell <target>
If you are working in a non-graphical env you may need to specify screen
as your terminal in your conf/local.conf
OE_TERMINAL = "screen"
bitbake -c listtasks <target>
bitbake -f <target>
bitbake -c compile -f <target>
bitbake --show-versions
bitbake -v <target>
bitbake -g <target>
bitbake -g <target> -I glibc
The above will create three files: * package-depends.dot
: deps between runtime targets * pn-depends.dot
: deps between recipes * task-depends.dot
: deps between tasks
You can either use dot
command to create a graph or you use the Dependency Explorer:
bitbake -g -u depexp <target>
mkdir sources
cd sources
git clone --branch thud git://git.yoctoproject.org/poky
git clone --branch thud git://git.yoctoproject.org/meta-raspberrypi
git clone --branch thud https://github.com/openembedded/meta-openembedded.git
cd ..
source sources/poky/oe-init-build-env build
bitbake-layers add-layer ../sources/meta-openembedded/meta-oe
bitbake-layers add-layer ../sources/meta-openembedded/meta-python
bitbake-layers add-layer ../sources/meta-raspberrypi
MACHINE=raspberrypi3 bitbake <image>
MACHINE=raspberrypi3 bitbake core-image-sato