| Summary: | Suggested clarification re. implementation and limitations of BBCLASSEXTEND | ||
|---|---|---|---|
| Product: | [Documentation] Reference | Reporter: | ulfalizer |
| Component: | handbook | Assignee: | Scott Rifenbark <srifenbark> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | poky.doc.watcher, poky.watcher, sgw, srifenbark |
| Version: | 2.3 | ||
| Target Milestone: | 2.2 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | 16 July 2016: RESOLVED | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Done (doc changes complete) | |
|
Description
ulfalizer
2016-07-12 00:33:34 UTC
Hi, Check out both variables here for the additional Note: * http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-BBCLASSEXTEND * http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#var-BBCLASSEXTEND Let me know. Thanks, Scott This makes it sound like it's the reparsing and not the lack of it that adds limitations: "No reparsing, which adds some limitations, of the recipe is done for each variant. For example, it is not possible to "include" a different file depending on the variant, since "include's" are processed when the recipe is parsed." How about this? Should be clearer than the original version. "Even when using BBCLASSEXTEND, the recipe is only parsed once. This adds some limitations. For example, it is not possible to "include" a different file depending on the variant, since "include's" are processed when the recipe is parsed." Also, I'd use code highlighting for "include"/"include's" and remove the quotation marks. Saw one more thing: For example, to generate a native version of a recipe named "foo", a DEPENDS on "foo" is rewritten... should be For example, to generate a native version of a recipe, a DEPENDS on "foo" is rewritten... "foo" is just the dependency, not the name of the recipe itself. Ulf, Here are the links.... * http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-BBCLASSEXTEND * http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#var-BBCLASSEXTEND Identical changes in both manuals. Let me know. Thanks, Scott Looks good to me. Thanks! Thanks! I have changed the status to resolved and set the doc flag to "Done." Scott |