diff options
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index f6dd231dce..09e9d5a853 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
| @@ -273,29 +273,17 @@ | |||
| 273 | the included file, use the path relative to the original | 273 | the included file, use the path relative to the original |
| 274 | layer directory to refer to the file. | 274 | layer directory to refer to the file. |
| 275 | For example, use | 275 | For example, use |
| 276 | <filename>require recipes-core/somepackage/somefile.inc</filename> | 276 | <filename>require recipes-core/</filename><replaceable>package</replaceable><filename>/</filename><replaceable>file</replaceable><filename>.inc</filename> |
| 277 | instead of <filename>require somefile.inc</filename>. | 277 | instead of <filename>require </filename><replaceable>file</replaceable><filename>.inc</filename>. |
| 278 | If you're finding you have to overlay the include file, | 278 | If you're finding you have to overlay the include file, |
| 279 | it could indicate a deficiency in the include file in | 279 | it could indicate a deficiency in the include file in |
| 280 | the layer to which it originally belongs. | 280 | the layer to which it originally belongs. |
| 281 | If this is the case, you need to address that deficiency | 281 | If this is the case, you should try to address that |
| 282 | instead of overlaying the include file. | 282 | deficiency instead of overlaying the include file. |
| 283 | </para> | 283 | For example, you could address this by getting the |
| 284 | 284 | maintainer of the include file to add a variable or | |
| 285 | <para> | 285 | variables to make it easy to override the parts needing |
| 286 | For example, consider how support plug-ins for the Qt 4 | 286 | overwritten. |
| 287 | database are configured. | ||
| 288 | The Source Directory does not have MySQL or PostgreSQL. | ||
| 289 | However, OpenEmbedded's layer <filename>meta-oe</filename> | ||
| 290 | does. | ||
| 291 | Consequently, <filename>meta-oe</filename> uses | ||
| 292 | append files to modify the | ||
| 293 | <filename>QT_SQL_DRIVER_FLAGS</filename> variable to | ||
| 294 | enable the appropriate plug-ins. | ||
| 295 | This variable was added to the <filename>qt4.inc</filename> | ||
| 296 | include file in the Source Directory specifically to allow | ||
| 297 | the <filename>meta-oe</filename> layer to be able to control | ||
| 298 | which plug-ins are built. | ||
| 299 | </para> | 287 | </para> |
| 300 | </section> | 288 | </section> |
| 301 | 289 | ||
