Download meta.bbclass - Yocto Project

Transcript
Migrating to a Newer Yocto Project Release
• bb.vercmp_string: Use bb.utils.vercmp_string.
• bb.vercmp: Use bb.utils.vercmp.
5.5.3.3. SVK Fetcher
The SVK fetcher has been removed from BitBake.
5.5.3.4. Console Output Error Redirection
The BitBake console UI will now output errors to stderr instead of stdout. Consequently, if you are
piping or redirecting the output of bitbake to somewhere else, and you wish to retain the errors, you
will need to add 2>&1 (or something similar) to the end of your bitbake command line.
5.5.3.5. task-taskname Overrides
task-taskname overrides have been adjusted so that tasks whose names contain underscores have
the underscores replaced by hyphens for the override so that they now function properly. For example,
the task override for do_populate_sdk is task-populate-sdk.
5.5.4. Changes to Variables
The following variables have changed. For information on the OpenEmbedded build system variables,
see the "Variables Glossary" Chapter.
5.5.4.1. TMPDIR
TMPDIR can no longer be on an NFS mount. NFS does not offer full POSIX locking and inode consistency
and can cause unexpected issues if used to store TMPDIR.
The check for this occurs on startup. If TMPDIR is detected on an NFS mount, an error occurs.
5.5.4.2. PRINC
The PRINC variable has been deprecated and triggers a warning if detected during a build.
For PR increments on changes, use the PR service instead. You can find out more about this
service in the "Working With a PR Service [http://www.yoctoproject.org/docs/1.7/dev-manual/devmanual.html#working-with-a-pr-service]" section in the Yocto Project Development Manual.
5.5.4.3. IMAGE_TYPES
The "sum.jffs2" option for IMAGE_TYPES has been replaced by the "jffs2.sum" option, which fits the
processing order.
5.5.4.4. COPY_LIC_MANIFEST
The COPY_LIC_MANIFEST variable must now be set to "1" rather than any value in order to enable it.
5.5.4.5. COPY_LIC_DIRS
The COPY_LIC_DIRS variable must now be set to "1" rather than any value in order to enable it.
5.5.4.6. PACKAGE_GROUP
The PACKAGE_GROUP variable has been renamed to FEATURE_PACKAGES to more accurately reflect its
purpose. You can still use PACKAGE_GROUP but the OpenEmbedded build system produces a warning
message when it encounters the variable.
5.5.5. Directory Layout Changes
The meta-hob layer has been removed from the top-level of the Source Directory [http://
www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#source-directory]. The contents of this
layer are no longer needed by the Hob user interface for building images and toolchains.
62