Usage notes¶
Component-specific targets¶
As mentioned in chapters “Fetchers” and “Builders” of “User reference
manual”, moulin generates some helpful targets for components:
to fetch sources, to create a configuration, to build the component.
For example, if we have a component domu, we will have the following
self-explanatory targets:
fetch-domuconf-domudomu
Rouge-specific targets¶
If section images: is present in YAML file, moulin
will also generate handy image-{image_name} rules. They can be
used to invoke rouge with the same build options, as
moulin was invoked.
Moulin also generates {image_name}.img.gz and {image_name}.img.bmap
targets.
Build inside yocto¶
If your component has yocto builder and you need to work inside the
components’ build environment, then you need to specify the corresponding
build folder (see work_dir parameter in builder section
of required component) as a parameter to oe-init-build-env.
For example to build only kernel-module-gles in domd:
$ cd yocto
$ . poky/oe-init-build-env build-domd
$ bitbake kernel-module-gles