diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/closer-look.xml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/documentation/ref-manual/closer-look.xml b/documentation/ref-manual/closer-look.xml index 45dcd9b3cf..4c5308e499 100644 --- a/documentation/ref-manual/closer-look.xml +++ b/documentation/ref-manual/closer-look.xml | |||
| @@ -254,9 +254,24 @@ | |||
| 254 | 254 | ||
| 255 | <para> | 255 | <para> |
| 256 | When you launch your build with the | 256 | When you launch your build with the |
| 257 | <filename>bitbake <replaceable>target</replaceable></filename> command, BitBake | 257 | <filename>bitbake <replaceable>target</replaceable></filename> |
| 258 | sorts out the configurations to ultimately define your build | 258 | command, BitBake sorts out the configurations to ultimately |
| 259 | environment. | 259 | define your build environment. |
| 260 | It is important to understand that the OpenEmbedded build system | ||
| 261 | reads the configuration files in a specific order: | ||
| 262 | <filename>site.conf</filename>, <filename>auto.conf</filename>, | ||
| 263 | and <filename>local.conf</filename>. | ||
| 264 | And, the build system applies the normal assignment statement | ||
| 265 | rules. | ||
| 266 | Because the files are parsed in a specific order, variable | ||
| 267 | assignments for the same variable could be affected. | ||
| 268 | For example, if the <filename>auto.conf</filename> file and | ||
| 269 | the <filename>local.conf</filename> set | ||
| 270 | <replaceable>variable1</replaceable> to different values, because | ||
| 271 | the build system parses <filename>local.conf</filename> after | ||
| 272 | <filename>auto.conf</filename>, | ||
| 273 | <replaceable>variable1</replaceable> is assigned the value from | ||
| 274 | the <filename>local.conf</filename> file. | ||
| 260 | </para> | 275 | </para> |
| 261 | </section> | 276 | </section> |
| 262 | 277 | ||
