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