Option Description
| ltib command | bitbake command | Comments |
|---|
| Root context number (0 is the primary and implicit) | ltib --rootn | ltib -R | | |
| operate on this package only | ltib --pkg | ltib -p | bitbake <package> | With bitbake there is no need to add a '-' parameter, just use the package name without the .bb extension |
| run the interactive configuration and build | ltib --configure | ltib -c | NA | See the mode -m config for more info |
| run the sub-platform configuration and build | ltib --selectype | NA | See the mode -m selectype for more info |
| configuration file to build from (defaults to .config) | ltib --preconfig | bitbake <predefined image> | With bitbake use any of the predefined images (assuming that these have not been modified), e.g. bitbake core-image-minimal or bitbake fsl-image-gui (it happens to be the smallest and the largest image, in terms of number of packages) |
profile file. This is used to select an alternate set of userspace packages, this is saved and used on later runs of ltib (e.g config/profiles/max.config) | ltib --profile | | |
| use this resource file | ltib --rcfile <f> | ltib - r <f> | | |
| batch mode, assume yes to all questions | ltib --batch | ltib -b | | |
| force rebuilds even if they are up to date | ltib --force | ltib -f | bitbake --force | bitbake -f | For example, to force recompiling the kernel: bitbake linux-imx -c compile -f |
| re-install rpms (but don't force rebuild) | ltib --reinstall | ltib -e | bitbake <package name> -c install -f | |
| remove (erase) rpm | ltib --erase | ltib -E | | |
| turn off install/uninstall dependency checks | ltib --nodeps | ltib -n | bitbake -b <somepath/somefile.bb>
| For example, to build just the kernel (no dependencies, just kernel): bitbake -b ../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb NOTE: ALL dependencies should be already be installed, otherwise the command will fail |
| don't force install rpms that have file conflicts | ltib --conflicts | ltib -k | | |
| keep the srpms after the build (deleted by default) | ltib --keepsrpms | ltib -s | | |
| more output | ltib --verbose | ltib -v | bitbake --verbose | bitbake -v | On YP, the log can be too verbose, so one way to handle the amount of log is to store it and then grep it: bitbake linux-imx | tee log; grep -i <your string to seach> < log |
| mostly a dry run (calls to system are just echos) | ltib --dry-run | ltib -d | bitbake --dry-run | bitbake -n | |
| try to continue on package build errors (autobuilds) | ltib --continue | ltib -C | bitbake --continue | bitbake -k | |
| print the application version and quit | ltib --version | ltib -V | bitbake --version | |
| do not redirect any output | ltib --noredir | ltib -N | | |
| run the deploy scripts even if build is up to date | ltib --deploy | ltib -D | bitbake <image name> -f | |
| disabled deployment (even with -p <pkg>) | ltib --no-deploy | | |
| just download the packages only | ltib --dlonly | bitbake -c fetchall <image name> | E.g. bitbake -c fetchall core-image-minimal |
| test that the BSP's packages are available | ltib --dltest | | |
| check against external staging repositories | ltib --external | | |
| leave the sources unpacked (only valid for pkg mode) | ltib --leavesrc | ltib -l | NA | This is the default mode in YP. All source code can be found on tmp/work. In case you want to remove source code after building (as in LTIB), add INHERIT += "rm_work" to your local.conf. NOTE: If your adding changes to a particular package, these will be lost. In case you want to keep source code of a specific package, include this on the RM_WORK_EXCLUDE variable (e.g. RM_WORK_EXCLUDE += "busybox eglibc"). |
| Make the selected root number sticky | --sticky | | |
| Remove root stickiness | --no-sticky | | |
| (re)configure/build/install the host support package set | --hostcf | | |
| use with package listings | --enable | | |
| use if you really want to ignore any locks (careful!) | --ignorelock | | |
| used with -m release to copy additional content | --fullbsp | | |
| used with -m release to copy specical packages into ISO | --distmap | | |
| don't check sudo, work around for broken sudo (fc9) | --no-sudo | | |
use git for some package's build where use-git-mode is either: - internal Use fsl internal git
- external Use fsl external git
| --use-git-mode | | |
| use external git for some package's build | --external-git | | |
| help on usage | --help | -h | --help | -h | |